summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-04-30 01:26:07 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-04-30 01:26:07 (EDT)
commit4519df63003a479d3c4cde18fc8c6a6af35d445e (patch)
tree6754556ed447eac02e58c8328385092a22b73c32 /src
parentb0824baf32571c9802e5038e351f7a3822c9e844 (diff)
Make sure interfaces are down before configuring.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/etc/init.d/networking1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/etc/init.d/networking b/src/etc/init.d/networking
index def938f..12fb513 100755
--- a/src/etc/init.d/networking
+++ b/src/etc/init.d/networking
@@ -3,6 +3,7 @@
case "${1}" in
start)
printf 'Configuring network interfaces... '
+ ifdown -a > /dev/null 2>&1
ifup -a
printf 'done.\n'
;;