apps/flash-R1_4_0/reflash.php File Reference

Go to the source code of this file.

Variables

 $mount_point = "/var/tmp/nfs_mount_point"
 $mount_point_store = "/mnt/.store"
 $remote_script = "nfs_update"
 $error = ""
 $NFS = trim($NFS,' "\\')
 $NFS_DIR = basename ($NFS)
else $msg = sprintf("<?xml version=\"1.0\"?>\n<reflash>\n <error>\"%s\"</error>\n</reflash>\n",$error)


Variable Documentation

$error = ""

Definition at line 52 of file reflash.php.

$mount_point = "/var/tmp/nfs_mount_point"

*************************************************************************** ! FILE NAME : reflash.php ! DESCRIPTION: updating the camera firmware by running a remote script over NFS ! Copyright (C) 2007 Elphel, Inc ! -----------------------------------------------------------------------------** ! ! This program is free software: you can redistribute it and/or modify ! it under the terms of the GNU General Public License as published by ! the Free Software Foundation, either version 3 of the License, or ! (at your option) any later version. ! ! This program is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! GNU General Public License for more details. ! ! You should have received a copy of the GNU General Public License ! along with this program. If not, see <http://www.gnu.org/licenses/>. ! -----------------------------------------------------------------------------** !

Log
reflash.php,v
! Revision 1.1.1.1 2008/11/27 20:04:01 elphel ! ! ! Revision 1.4 2008/10/15 22:26:44 elphel ! Added warning (reflashing takes longer than script to run) ! ! Revision 1.3 2008/10/13 05:14:19 elphel ! updated to NFS_ROOT/NFS_DIR ! ! Revision 1.2 2008/10/12 22:17:56 elphel ! snapshot ! ! Revision 1.4 2007/12/23 04:24:23 elphel ! umounts "store" flash partition ! ! Revision 1.3 2007/12/11 23:28:15 spectr_rain ! added NET_FOLDER to use this folder and IP of request source ! ! Revision 1.2 2007/11/20 00:53:33 elphel ! Verifies that correct web server is used ! ! Revision 1.1 2007/11/08 06:29:37 elphel ! added reflash.php that allows camera firmware update from the using HTTP GET request ! !

Definition at line 49 of file reflash.php.

$mount_point_store = "/mnt/.store"

Definition at line 50 of file reflash.php.

else $msg = sprintf("<?xml version=\"1.0\"?>\n<reflash>\n <error>\"%s\"</error>\n</reflash>\n",$error)

Definition at line 87 of file reflash.php.

$NFS = trim($NFS,' "\\')

Definition at line 59 of file reflash.php.

$NFS_DIR = basename ($NFS)

Definition at line 66 of file reflash.php.

$remote_script = "nfs_update"

Definition at line 51 of file reflash.php.


Generated on Fri Nov 28 00:07:03 2008 for elphel by  doxygen 1.5.1