summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rc.inet14
1 files changed, 3 insertions, 1 deletions
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]}