Reflash.php

From ElphelWiki
Revision as of 23:39, 7 November 2007 by Andrey.filippov (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This script allows initiating camera firmware update from the NFS server. It allows to specify NFS server IP/directory in the GET request as well as the script name. Script uses default values if the parameters ("NFS=" and "SCRIPT=") are not specified. Here are the usage examples:

http://192.168.0.9:81/var/reflash.php?
http://192.168.0.9:81/var/reflash.php?NFS=192.168.0.15:/nfs/elphel353-2.10/
http://192.168.0.9:81/var/reflash.php?NFS=192.168.0.15:/nfs/elphel353-2.10/&SCRIPT=nfs_update

They all do the same as the parameters specified are exactly the same as defaults. The script