projects
/
sysadmin-cookbook
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
136a315
)
fix conf-dir directive activation
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 30 May 2009 13:07:12 +0000
(13:07 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 30 May 2009 13:07:12 +0000
(13:07 +0000)
git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@105
191e9f34
-6774-4a6d-acfc-
7664dacd4a2a
recepies/pxe/2.enable-conf-dir.sh
patch
|
blob
|
history
diff --git
a/recepies/pxe/2.enable-conf-dir.sh
b/recepies/pxe/2.enable-conf-dir.sh
index
21c1145
..
4f9008c
100755
(executable)
--- a/
recepies/pxe/2.enable-conf-dir.sh
+++ b/
recepies/pxe/2.enable-conf-dir.sh
@@
-1,3
+1,3
@@
#!/bin/sh -x
-grep '^conf-dif=/etc/dnsmasq.d' /etc/dnsmasq.conf ||
echo 'conf-dir=/etc/dnsmasq.d' >> /etc/dnsmasq && /etc/init.d/dnsmasq restart
+grep '^conf-dif=/etc/dnsmasq.d' /etc/dnsmasq.conf ||
( echo 'conf-dir=/etc/dnsmasq.d' >> /etc/dnsmasq.conf && /etc/init.d/dnsmasq restart )