summaryrefslogtreecommitdiffstats
path: root/tmp/post_upgrade_command
diff options
context:
space:
mode:
Diffstat (limited to 'tmp/post_upgrade_command')
-rwxr-xr-xtmp/post_upgrade_command3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmp/post_upgrade_command b/tmp/post_upgrade_command
index c7d6567..4050998 100755
--- a/tmp/post_upgrade_command
+++ b/tmp/post_upgrade_command
@@ -72,9 +72,12 @@ echo "$detect_command" > $CVS_CO_DIR/root/.shrc
echo "$detect_command" >> $CVS_CO_DIR/root/.profile
# Now turn on or off serial console as needed
+echo "Checking for /tmp/$1/tmp/post_upgrade_command.php... " >> /conf/upgrade_log.txt
if [ -x /tmp/$1/tmp/post_upgrade_command.php ]; then
+ echo "Running /tmp/$1/tmp/post_upgrade_command.php $1" >> /conf/upgrade_log.txt
/tmp/$1/tmp/post_upgrade_command.php $1 >> /conf/upgrade_log.txt 2>&1
elif [ -f /tmp/post_upgrade_command.php ]; then
+ echo "Running /tmp/post_upgrade_command.php $1" >> /conf/upgrade_log.txt
/tmp/post_upgrade_command.php $1
fi
OpenPOWER on IntegriCloud