diff options
author | Renato Botelho <renato@netgate.com> | 2015-09-14 13:51:47 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-09-14 13:51:47 -0300 |
commit | 69368effec025155a73225f3b144ca08c432710b (patch) | |
tree | 0d99db3c2a20031b1a3f3699777b7fa20ee6311d /src/usr/local/share | |
parent | 3296e3dc2041a10d480263973c30eb6897244e8b (diff) | |
download | pfsense-69368effec025155a73225f3b144ca08c432710b.zip pfsense-69368effec025155a73225f3b144ca08c432710b.tar.gz |
Remove some dead code from post_upgrade_command
Diffstat (limited to 'src/usr/local/share')
-rwxr-xr-x | src/usr/local/share/pfSense/post_upgrade_command | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/usr/local/share/pfSense/post_upgrade_command b/src/usr/local/share/pfSense/post_upgrade_command index 097bc5c..4a63a31 100755 --- a/src/usr/local/share/pfSense/post_upgrade_command +++ b/src/usr/local/share/pfSense/post_upgrade_command @@ -8,11 +8,6 @@ if [ "${PFSENSETYPE}" = "pfSense" -o "${PFSENSETYPE}" = "nanobsd" ]; then touch /conf/needs_package_sync fi -# Detect interactive logins and display the shell -detect_command='[ -n "$SSH_TTY" -o "$TERM" = "cons25" ] && exec /etc/rc.initial' -echo "${detect_command}" > ${CVS_CO_DIR}/root/.shrc -echo "${detect_command}" >> ${CVS_CO_DIR}/root/.profile - if [ "${PFSENSETYPE}" = "nanobsd" ]; then ROOT=/tmp/${1}/ else @@ -26,9 +21,6 @@ if [ -x ${ROOT}usr/local/share/pfSense/post_upgrade_command.php ]; then ${ROOT}usr/local/share/pfSense/post_upgrade_command.php $1 >> /conf/upgrade_log.txt 2>&1 fi -# Remove any previous MD5 sum files -rm -f /root/*.md5 >/dev/null 2>&1 - # Fixup permissions on installed files if [ -f ${ROOT}usr/local/share/pfSense/base.mtree ]; then if [ -x "/tmp/mtree.old" ]; then |