Commit 4bdc75f5 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

removed comments

parent fd7d99af
...@@ -36,7 +36,7 @@ $mountpoint = "/mnt/sda1"; ...@@ -36,7 +36,7 @@ $mountpoint = "/mnt/sda1";
$camogmdisk = "/mnt/sda1/camogm.disk"; $camogmdisk = "/mnt/sda1/camogm.disk";
$nandbootpath = "/tmp/rootfs.ro"; $nandbootpath = "/tmp/rootfs.ro";
if (is_dir($nandbootpath)) $camogmdisk = $nandbootpath.$camogmdisk; //if (is_dir($nandbootpath)) $camogmdisk = $nandbootpath.$camogmdisk;
$sysfs_lba_path = "/sys/devices/soc0/amba@0/80000000.elphel-ahci/"; $sysfs_lba_path = "/sys/devices/soc0/amba@0/80000000.elphel-ahci/";
...@@ -181,7 +181,7 @@ switch($cmd){ ...@@ -181,7 +181,7 @@ switch($cmd){
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 // reset pointers
exec("echo 'rawdev_path=/dev/sda2' > /var/state/camogm_cmd"); exec("echo 'rawdev_path=/dev/sda2' > /var/state/camogm_cmd");
......
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