From 988724dafdd840ddcc761353650601c1d4f728c0 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 23 Dec 2007 21:38:16 +0000 Subject: Move ttys_wrap into place last. --- tmp/post_upgrade_command | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'tmp') 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 -- cgit v1.1