summaryrefslogtreecommitdiffstats
path: root/tmp
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-08-02 18:46:56 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-08-02 18:46:56 +0000
commitdb88204a2808bc71084d497b00932113e09b0656 (patch)
tree0b2c131eba59f1a8ae2366cf31e4ebf72f5ef6d6 /tmp
parentbea014d0a5c47e43dba7dc724eaee0db37673f47 (diff)
downloadpfsense-db88204a2808bc71084d497b00932113e09b0656.zip
pfsense-db88204a2808bc71084d497b00932113e09b0656.tar.gz
* The drop is locked in /etc/rc.firmware * Modify ttys after the correct file is moved into place
Diffstat (limited to 'tmp')
-rwxr-xr-xtmp/post_upgrade_command10
1 files changed, 4 insertions, 6 deletions
diff --git a/tmp/post_upgrade_command b/tmp/post_upgrade_command
index 7dbb87b..9563c65 100755
--- a/tmp/post_upgrade_command
+++ b/tmp/post_upgrade_command
@@ -3,10 +3,6 @@
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 +25,7 @@ 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