diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-12-23 21:38:16 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-12-23 21:38:16 +0000 |
commit | 988724dafdd840ddcc761353650601c1d4f728c0 (patch) | |
tree | 19f26fbb7afb93fb632ddfc770f657a697567b09 /tmp | |
parent | a35c203323ed42b2060cee381bdc7dcb4989f38e (diff) | |
download | pfsense-988724dafdd840ddcc761353650601c1d4f728c0.zip pfsense-988724dafdd840ddcc761353650601c1d4f728c0.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..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 |