diff options
Diffstat (limited to 'tmp')
-rwxr-xr-x | tmp/post_upgrade_command | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tmp/post_upgrade_command b/tmp/post_upgrade_command index 7dbb87b..89ac36d 100755 --- a/tmp/post_upgrade_command +++ b/tmp/post_upgrade_command @@ -3,10 +3,7 @@ touch /var/run/config.lock /etc/rc.conf_mount_rw -# Now turn on or off serial console as needed -php -f /tmp/post_upgrade_command.php -rm /var/run/config.lock KERNELTYPE=`cat /boot/kernel/pfsense_kernel.txt` if [ $KERNELTYPE = "wrap" ]; then @@ -29,5 +26,6 @@ if [ -d /kernels ]; then rm -rf /kernels/* fi -rm /var/run/config.lock -/etc/rc.conf_mount_ro +# Now turn on or off serial console as needed +php -f /tmp/post_upgrade_command.php + |