Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-web-393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-web-393
Commits
fc366978
Commit
fc366978
authored
Mar 30, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corrected reset fast_rec
parent
951fccda
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
eyesis4pi_interface.php
src/eyesis4pi/eyesis4pi_interface.php
+3
-2
No files found.
src/eyesis4pi/eyesis4pi_interface.php
View file @
fc366978
...
...
@@ -32,7 +32,8 @@ else if (isset($argv[1]))
$symlink
=
"/www/pages/ssd"
;
$mountpoint
=
"/mnt/sda1"
;
$camogmdisk
=
"/home/root/camogm.disk"
;
//$camogmdisk = "/home/root/camogm.disk";
$camogmdisk
=
"/mnt/sda1/camogm.disk"
;
$nandbootpath
=
"/tmp/rootfs.ro"
;
if
(
is_dir
(
$nandbootpath
))
$camogmdisk
=
$nandbootpath
.
$camogmdisk
;
...
...
@@ -182,7 +183,7 @@ switch($cmd){
if
(
is_file
(
$camogmdisk
)){
unlink
(
$camogmdisk
);
}
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"
);
break
;
case
"free_space_bkp"
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment