Commit fd7d99af authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

refresh fastrec

parent 93f37001
...@@ -188,6 +188,10 @@ switch($cmd){ ...@@ -188,6 +188,10 @@ switch($cmd){
//file_put_contents($file_lba_current,file_get_contents($file_lba_start)); //file_put_contents($file_lba_current,file_get_contents($file_lba_start));
print("reset fastrec: ok"); print("reset fastrec: ok");
break; break;
case "refresh_camogm_fastrec":
exec("echo 'rawdev_path=/dev/sda2' > /var/state/camogm_cmd");
print("refresh fastrec: ok");
break;
case "free_space_bkp": case "free_space_bkp":
// results are in GB // results are in GB
// /dev/sda2 is not a mountpoint but a device because it does not have a file system // /dev/sda2 is not a mountpoint but a device because it does not have a file system
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment