diff options
author | Roy Marples <roy@marples.name> | 2009-10-25 00:03:20 +0100 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2009-10-25 00:03:20 +0100 |
commit | 3c8ea5896a8c7a6f7cc97cff1bd7b3c8a5739a61 (patch) | |
tree | fbab006b4cd0ebbbf70b4ad8ed7669a992749f3c /init.d/network.in | |
parent | 7c5047acfce4efdc55ea1741df9193e7e3ac6510 (diff) |
Fix default domain
Diffstat (limited to 'init.d/network.in')
-rw-r--r-- | init.d/network.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/network.in b/init.d/network.in index 5e609633..7f64b171 100644 --- a/init.d/network.in +++ b/init.d/network.in @@ -174,7 +174,7 @@ start() { local cr=0 r= int= intv= cmd= args= upcmd= - if [ -z "$domainname" && -s /etc/defaultdomain ]; then + if [ -z "$domainname" -a -s /etc/defaultdomain ]; then domainname=$(cat /etc/defaultdomain) fi if [ -n "$domainname" ]; then |