diff options
| author | Darren 'Tadgy' Austin <darren@afterdark.org.uk> | 2019-11-15 18:00:15 +0000 | 
|---|---|---|
| committer | Darren 'Tadgy' Austin <darren@afterdark.org.uk> | 2019-11-15 18:00:15 +0000 | 
| commit | 04613948a709db1f444aa6aa2b54f06958b227d9 (patch) | |
| tree | f2584a2e850091073bf9d17593adc0cb77ef19e7 | |
| parent | 99bb15d2b205a8830167cfde4f490c0b561fd347 (diff) | |
| download | slacknetsetup-04613948a709db1f444aa6aa2b54f06958b227d9.tar.xz | |
Quiet down the ipv6 modprobe.  Tell the user what is going on.
Thanks to upnort for the suggestions.
| -rw-r--r-- | rc.inet1 | 4 | 
1 files changed, 3 insertions, 1 deletions
@@ -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]}  | 
