summaryrefslogtreecommitdiffstats
path: root/tmp
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-05-09 18:36:18 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-05-09 18:36:18 +0000
commitbeadd5a8f20ff0ee251445f5aebb13fe1412d131 (patch)
tree386828b641869abfabc3874c7d07dc0b065a2127 /tmp
parent738686458f50914b4437ae26f4145a59627c3591 (diff)
downloadpfsense-beadd5a8f20ff0ee251445f5aebb13fe1412d131.zip
pfsense-beadd5a8f20ff0ee251445f5aebb13fe1412d131.tar.gz
Lock the configuration while we fix the serial console
Diffstat (limited to 'tmp')
-rwxr-xr-xtmp/post_upgrade_command2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmp/post_upgrade_command b/tmp/post_upgrade_command
index c95af2e..694dca4 100755
--- a/tmp/post_upgrade_command
+++ b/tmp/post_upgrade_command
@@ -1,5 +1,6 @@
#!/bin/sh
+touch /var/run/config.lock
/etc/rc.conf_mount_rw
# Make sure gettytab is correct
@@ -546,3 +547,4 @@ EOFEOFA
# Now turn on or off serial console as needed
php -f /tmp/post_upgrade_command.php
+rm /var/run/config.lock
OpenPOWER on IntegriCloud