summaryrefslogtreecommitdiffstats
path: root/tmp
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-12-23 21:38:16 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-12-23 21:38:16 +0000
commit988724dafdd840ddcc761353650601c1d4f728c0 (patch)
tree19f26fbb7afb93fb632ddfc770f657a697567b09 /tmp
parenta35c203323ed42b2060cee381bdc7dcb4989f38e (diff)
downloadpfsense-988724dafdd840ddcc761353650601c1d4f728c0.zip
pfsense-988724dafdd840ddcc761353650601c1d4f728c0.tar.gz
Move ttys_wrap into place last.
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