summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinit.d/shutdown.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.d/shutdown.sh b/init.d/shutdown.sh
index bb9c458..3778814 100755
--- a/init.d/shutdown.sh
+++ b/init.d/shutdown.sh
@@ -3,6 +3,7 @@
opts="-hd"
[[ ${INIT_HALT} != "HALT" ]] && opts="${opts}p"
+[[ ${RC_DOWN_INTERFACE} == "yes" ]] && opts="${opts}i"
/sbin/halt "${opts}"