diff options
author | Renato Botelho <renato@netgate.com> | 2015-08-17 17:05:13 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-08-17 17:05:29 -0300 |
commit | c1367bd11624c866a2d166136c80dc0eda32e1ed (patch) | |
tree | 4ba50aac5e96d19322617120f5b232c39bda7b05 /usr | |
parent | 8f400b8fdd6d4038928194799ef3f0852c86e6d4 (diff) | |
download | pfsense-c1367bd11624c866a2d166136c80dc0eda32e1ed.zip pfsense-c1367bd11624c866a2d166136c80dc0eda32e1ed.tar.gz |
Fix path for pre and post upgrade scripts
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/share/pfSense/post_upgrade_command | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/share/pfSense/post_upgrade_command b/usr/local/share/pfSense/post_upgrade_command index eea691f..a9e3e57 100755 --- a/usr/local/share/pfSense/post_upgrade_command +++ b/usr/local/share/pfSense/post_upgrade_command @@ -20,10 +20,10 @@ else fi # Now turn on or off serial console as needed -echo "Checking for ${ROOT}tmp/post_upgrade_command.php... " >> /conf/upgrade_log.txt -if [ -x ${ROOT}tmp/post_upgrade_command.php ]; then - echo "Running ${ROOT}tmp/post_upgrade_command.php $1" >> /conf/upgrade_log.txt - ${ROOT}tmp/post_upgrade_command.php $1 >> /conf/upgrade_log.txt 2>&1 +echo "Checking for ${ROOT}usr/local/share/pfSense/post_upgrade_command.php... " >> /conf/upgrade_log.txt +if [ -x ${ROOT}usr/local/share/pfSense/post_upgrade_command.php ]; then + echo "Running ${ROOT}usr/local/share/pfSense/post_upgrade_command.php $1" >> /conf/upgrade_log.txt + ${ROOT}usr/local/share/pfSense/post_upgrade_command.php $1 >> /conf/upgrade_log.txt 2>&1 fi # Remove any previous MD5 sum files |