From 153c86012fbd800f5c09a8b6668c75ffab3ff2c5 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 6 May 2005 14:48:21 +0000 Subject: [PATCH] Output status of bringing carp interfaces down --- etc/rc.shutdown | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/etc/rc.shutdown b/etc/rc.shutdown index e1bc020cb5..5059aa5f6a 100755 --- a/etc/rc.shutdown +++ b/etc/rc.shutdown @@ -1,5 +1,10 @@ #!/bin/sh +echo +echo +echo "pfSense is now shutting down ..." +echo + stty status '^T' # Set shell to ignore SIGINT (2), but not children; @@ -11,9 +16,14 @@ HOME=/; export HOME PATH=/sbin:/bin:/usr/sbin:/usr/bin export PATH +echo -n "Bringing interfaces down: [" for ci in `/sbin/ifconfig | grep "carp[0-999]" | cut -d":" -f1`; do - echo Bringing $ci down ... + echo -n " " + echo -n $ci /sbin/ifconfig $ci down /sbin/ifconfig $ci destroy done +echo " ]" +echo +echo