From 04613948a709db1f444aa6aa2b54f06958b227d9 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Fri, 15 Nov 2019 18:00:15 +0000 Subject: Quiet down the ipv6 modprobe. Tell the user what is going on. Thanks to upnort for the suggestions. --- rc.inet1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rc.inet1') diff --git a/rc.inet1 b/rc.inet1 index 60116d0..dad251e 100644 --- a/rc.inet1 +++ b/rc.inet1 @@ -71,7 +71,7 @@ done # set to 0 before that happens, so try to pre-load ipv6 here. if [ ! -e /proc/sys/net/ipv6 ]; then debug_log "/sbin/modprobe ipv6" - /sbin/modprobe ipv6 + /sbin/modprobe ipv6 2>/dev/null _DID_MODPROBE=1 fi # If we did any module loading in the blocks above, sleep for a couple of @@ -600,6 +600,7 @@ gateway_down() { # Function to start the network: start() { + echo "Starting the network interfaces..." lo_up virtif_create for i in "${IFNAME[@]}" ; do @@ -610,6 +611,7 @@ start() { # Function to stop the network: stop() { + echo "Stopping the network interfaces..." gateway_down for (( i = $MAXNICS - 1; i >= 0; i-- )); do if_down ${IFNAME[$i]} -- cgit v1.2.3