summaryrefslogtreecommitdiffstats
path: root/src-wireless
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2012-02-23 13:35:20 +0100
committerJouke Witteveen <j.witteveen@gmail.com>2012-02-23 13:35:20 +0100
commitd828b580d07b250567bc611c8083095ed1a53915 (patch)
tree9737de85d84b46d80ad4713bba5065a968933211 /src-wireless
parent7ba4e6face203dd9c0dcef82c9be0d2e436d571a (diff)
downloadnetctl-d828b580d07b250567bc611c8083095ed1a53915.tar.gz
netctl-d828b580d07b250567bc611c8083095ed1a53915.tar.xz
Add backgrounding functionality to net-profiles
Known from the DAEMONS syntax in rc.conf, it is now possible to start netcfg profiles in the background. This fixes FS#23934 which was reported by Andrej Podzimek (andrej).
Diffstat (limited to 'src-wireless')
-rw-r--r--src-wireless/net-auto2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-wireless/net-auto b/src-wireless/net-auto
index 6c15f52..ca52b3e 100644
--- a/src-wireless/net-auto
+++ b/src-wireless/net-auto
@@ -9,7 +9,7 @@ case "$1" in
fi
# Ensure any device renaming has occurred as intended
for daemon in "${DAEMONS[@]}"; do
- if [[ "$daemon" = "${daemon#!}" && "$daemon" = "net-rename" ]]; then
+ if [[ "$daemon" = "net-rename" ]]; then
if ck_daemon net-rename; then
/etc/rc.d/net-rename start
fi