summaryrefslogtreecommitdiffstats
path: root/src/net-profiles
diff options
context:
space:
mode:
authorJim Pryor <profjim@jimpryor.net>2009-08-11 18:49:08 +0200
committerJames Rayner <james@archlinux.org>2009-09-07 12:04:04 +0200
commit6b0c686613a26541ce3164d9e995f639ef3a9b9f (patch)
tree67b2d4e8d1fa500752be8c657491afe2bb9db14b /src/net-profiles
parent6e369d4a1e082be88c3e8132477452c2dda3cf0e (diff)
downloadnetctl-6b0c686613a26541ce3164d9e995f639ef3a9b9f.tar.gz
netctl-6b0c686613a26541ce3164d9e995f639ef3a9b9f.tar.xz
Comments, more harmless bits
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
Diffstat (limited to 'src/net-profiles')
-rw-r--r--src/net-profiles2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net-profiles b/src/net-profiles
index 3827c54..6ab179a 100644
--- a/src/net-profiles
+++ b/src/net-profiles
@@ -10,7 +10,7 @@ case "$1" in
# Ensure any device renaming has occurred as intended
for daemon in "${DAEMONS[@]}"; do
- if [ "$daemon" = "${daemon#!}" -a "$daemon" = "net-rename" ]; then
+ if [[ "$daemon" = "${daemon#!}" && "$daemon" = "net-rename" ]]; then
if ck_daemon net-rename; then
/etc/rc.d/net-rename start
fi