summaryrefslogtreecommitdiffstats
path: root/tmp/post_upgrade_command
diff options
context:
space:
mode:
Diffstat (limited to 'tmp/post_upgrade_command')
-rwxr-xr-xtmp/post_upgrade_command9
1 files changed, 9 insertions, 0 deletions
diff --git a/tmp/post_upgrade_command b/tmp/post_upgrade_command
new file mode 100755
index 0000000..5c49efc
--- /dev/null
+++ b/tmp/post_upgrade_command
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+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
OpenPOWER on IntegriCloud