diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-12-23 21:38:03 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-12-23 21:38:03 +0000 |
commit | f79a0103eeec16d96c4694a50b5ac59529687367 (patch) | |
tree | c16e3873f15d931763fce5768127dda3fb3e9170 /tmp | |
parent | f71519044b73b4f1dfc3325003fde78633f985e0 (diff) | |
download | pfsense-f79a0103eeec16d96c4694a50b5ac59529687367.zip pfsense-f79a0103eeec16d96c4694a50b5ac59529687367.tar.gz |
Move ttys_wrap into place last.
Diffstat (limited to 'tmp')
-rwxr-xr-x | tmp/post_upgrade_command | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tmp/post_upgrade_command b/tmp/post_upgrade_command index e866144..896f16d 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 |