diff options
-rwxr-xr-x | tmp/post_upgrade_command | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tmp/post_upgrade_command b/tmp/post_upgrade_command index e4e41c4..e866144 100755 --- a/tmp/post_upgrade_command +++ b/tmp/post_upgrade_command @@ -3,6 +3,11 @@ 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 @@ -33,3 +38,4 @@ rm -f /root/*.md5 # File moved to pfSense php shell (pfSsh.php) rm -rf /usr/local/sbin/cvs_sync.sh + |