pptpd: create /var/etc if it does not exist (#14687)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@39175 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
05749252d4
commit
d14777943b
@ -26,6 +26,7 @@ setup_config() {
|
|||||||
config_get enabled "$section" enabled
|
config_get enabled "$section" enabled
|
||||||
[ "$enabled" -eq 0 ] && return 1
|
[ "$enabled" -eq 0 ] && return 1
|
||||||
|
|
||||||
|
mkdir -p /var/etc
|
||||||
cp /etc/pptpd.conf $CONFIG
|
cp /etc/pptpd.conf $CONFIG
|
||||||
|
|
||||||
config_get localip "$section" localip
|
config_get localip "$section" localip
|
||||||
|
Loading…
x
Reference in New Issue
Block a user