Commit 93f37001 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

updated reset fast rec

parent fc366978
...@@ -179,10 +179,12 @@ switch($cmd){ ...@@ -179,10 +179,12 @@ switch($cmd){
break; break;
case "reset_camogm_fastrec": case "reset_camogm_fastrec":
//remove file // remove file
if (is_file($camogmdisk)){ if (is_file($camogmdisk)){
unlink($camogmdisk); unlink($camogmdisk);
} }
// reset pointers
exec("echo 'rawdev_path=/dev/sda2' > /var/state/camogm_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;
......
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