projects
/
openwrt
/
svn-archive
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a9cb69
)
pptpd: create /var/etc if it does not exist (#14687)
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 28 Dec 2013 11:32:01 +0000
(11:32 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 28 Dec 2013 11:32:01 +0000
(11:32 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39175
net/pptpd/files/pptpd.init
patch
|
blob
|
history
diff --git
a/net/pptpd/files/pptpd.init
b/net/pptpd/files/pptpd.init
index b1381b27312661d0bb1f5cf719dd859f68f10abc..0d0639feefc13ec4c721effd4187ac566484d4a6 100644
(file)
--- a/
net/pptpd/files/pptpd.init
+++ b/
net/pptpd/files/pptpd.init
@@
-26,6
+26,7
@@
setup_config() {
config_get enabled "$section" enabled
[ "$enabled" -eq 0 ] && return 1
+ mkdir -p /var/etc
cp /etc/pptpd.conf $CONFIG
config_get localip "$section" localip