summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-scripts/net.modules.d/iwconfig')
-rw-r--r--net-scripts/net.modules.d/iwconfig11
1 files changed, 0 insertions, 11 deletions
diff --git a/net-scripts/net.modules.d/iwconfig b/net-scripts/net.modules.d/iwconfig
index 53dcaa9..cd94cac 100644
--- a/net-scripts/net.modules.d/iwconfig
+++ b/net-scripts/net.modules.d/iwconfig
@@ -900,17 +900,6 @@ iwconfig_pre_start() {
# Setup IFS incase parent script has modified it
local IFS=$' '$'\n'$'\t'
- if [[ ${background} == "yes" ]]; then
- IN_BACKGROUND=true
- iwconfig_configure "${iface}" &>/dev/null \
- && save_options "ESSID" "${ESSID}" \
- || iwconfig_defaults "${iface}" \
- && interface_down "${iface}" \
- && mark_service_stopped "net.${iface}" \
- &
- go_background
- fi
-
if iwconfig_configure "${iface}" ; then
save_options "ESSID" "${ESSID}"
return 0