From 69368effec025155a73225f3b144ca08c432710b Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Mon, 14 Sep 2015 13:51:47 -0300 Subject: Remove some dead code from post_upgrade_command --- src/usr/local/share/pfSense/post_upgrade_command | 8 -------- 1 file changed, 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 -- cgit v1.1