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:
nbd 2013-12-28 11:32:01 +00:00
parent 05749252d4
commit d14777943b

View File

@ -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