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
4bdc75f5
Commit
4bdc75f5
authored
Mar 31, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed comments
parent
fd7d99af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
eyesis4pi_interface.php
src/eyesis4pi/eyesis4pi_interface.php
+2
-2
No files found.
src/eyesis4pi/eyesis4pi_interface.php
View file @
4bdc75f5
...
@@ -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"
);
...
...
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