diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-05-06 14:48:21 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-05-06 14:48:21 +0000 |
commit | 153c86012fbd800f5c09a8b6668c75ffab3ff2c5 (patch) | |
tree | e24191fcbd876d27fcf3b7ae24d5e4fce1b4103e /etc/rc.shutdown | |
parent | cfc55699a6b039f97fd1d29e7b947c0d1d10db6c (diff) | |
download | pfsense-153c86012fbd800f5c09a8b6668c75ffab3ff2c5.zip pfsense-153c86012fbd800f5c09a8b6668c75ffab3ff2c5.tar.gz |
Output status of bringing carp interfaces down
Diffstat (limited to 'etc/rc.shutdown')
-rwxr-xr-x | etc/rc.shutdown | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/etc/rc.shutdown b/etc/rc.shutdown index e1bc020..5059aa5 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 |