summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-08-02 18:46:44 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-08-02 18:46:44 +0000
commitcaae9b2c61ae8e189e004e5f739190016e2e7b91 (patch)
treebde522a29dc6204ccec1de8b5ce1faf7bf94c301
parent33edf4b995691d5b479b0c68d3261e23213a5072 (diff)
downloadpfsense-caae9b2c61ae8e189e004e5f739190016e2e7b91.zip
pfsense-caae9b2c61ae8e189e004e5f739190016e2e7b91.tar.gz
* The drop is locked in /etc/rc.firmware * Modify ttys after the correct file is moved into place
-rwxr-xr-xtmp/post_upgrade_command8
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
+
OpenPOWER on IntegriCloud