blob: c172886dac61484d89fcb8de987e3b084b3241c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
From 3c8ea5896a8c7a6f7cc97cff1bd7b3c8a5739a61 Mon Sep 17 00:00:00 2001
From: Roy Marples <roy@marples.name>
Date: Sun, 25 Oct 2009 00:03:20 +0100
Subject: [PATCH 1/3] Fix default domain
---
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 5e60963..7f64b17 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
--
1.6.4.4
|