From 262f466f2be7ba16b6180d9df771813382fa16fa Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 24 Jul 2017 08:36:37 +0200 Subject: [PATCH] firmware: better print for changelog fetch if failed --- src/etc/rc.initial.firmware | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/etc/rc.initial.firmware b/src/etc/rc.initial.firmware index 4eb5baef5..970b6be19 100755 --- a/src/etc/rc.initial.firmware +++ b/src/etc/rc.initial.firmware @@ -36,8 +36,11 @@ echo "This will automatically fetch all available updates, apply them," echo "and reboot if necessary." echo -# always fetch changelogs, we may want to display them at one point -/usr/local/opnsense/scripts/firmware/changelog.sh fetch || true +echo -n "Fetching change log information, please wait... " +if /usr/local/opnsense/scripts/firmware/changelog.sh fetch; then + echo "done" +fi +echo if [ -f ${UPGRADE} ]; then NAME=$(cat ${UPGRADE})