projects
/
openwrt
/
staging
/
mkresin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44f1ad2
)
create the dhcp leasefile if it doesn't exist
author
Travis Kemen
<thepeople@openwrt.org>
Thu, 14 Feb 2008 21:17:14 +0000
(21:17 +0000)
committer
Travis Kemen
<thepeople@openwrt.org>
Thu, 14 Feb 2008 21:17:14 +0000
(21:17 +0000)
SVN-Revision: 10460
package/dnsmasq/files/dnsmasq.init
patch
|
blob
|
history
diff --git
a/package/dnsmasq/files/dnsmasq.init
b/package/dnsmasq/files/dnsmasq.init
index 62e2f51fed423d446139c6820b7cb5f7a1b8ba58..1a24612633a616b2815220637df01ecde4dc55c9 100644
(file)
--- a/
package/dnsmasq/files/dnsmasq.init
+++ b/
package/dnsmasq/files/dnsmasq.init
@@
-63,6
+63,9
@@
dnsmasq() {
append_parm "$cfg" "local" "-S"
append_parm "$cfg" "leasefile" "-l"
append_parm "$cfg" "resolvfile" "-r"
+
+ config_get leasefile $cfg leasefile
+ [ -e "$leasefile" ] || touch "$leasefile"
}
dhcp_subscrid_add() {