summaryrefslogtreecommitdiffstats
path: root/tmp
diff options
context:
space:
mode:
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 e866144..bad4ce7 100755
--- a/tmp/post_upgrade_command
+++ b/tmp/post_upgrade_command
@@ -3,11 +3,6 @@
touch /var/run/config.lock
/etc/rc.conf_mount_rw
-PFSENSETYPE=`cat /etc/platform`
-if [ $PFSENSETYPE = "embedded" ]; then
- cp /etc/ttys_wrap /etc/ttys
-fi
-
KERNELTYPE=`cat /boot/kernel/pfsense_kernel.txt`
if [ $KERNELTYPE = "wrap" ]; then
if [ -f /kernels/kernel_wrap.gz ]; then
@@ -38,4 +33,7 @@ rm -f /root/*.md5
# File moved to pfSense php shell (pfSsh.php)
rm -rf /usr/local/sbin/cvs_sync.sh
-
+PFSENSETYPE=`cat /etc/platform`
+if [ $PFSENSETYPE = "embedded" ]; then
+ cp /etc/ttys_wrap /etc/ttys
+fi \ No newline at end of file
OpenPOWER on IntegriCloud