summaryrefslogtreecommitdiff
path: root/package/pptp
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-02-03 06:48:15 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-02-03 06:48:15 +0000
commit0cf1a58282bacda7552d294e0f99562ece74cf22 (patch)
treef1c533f73a26f5da018025fae277a27c84ecdfc0 /package/pptp
parent32f2870131750e44e5a73f6255f077cddca2bca1 (diff)
downloadmtk-20170518-0cf1a58282bacda7552d294e0f99562ece74cf22.zip
mtk-20170518-0cf1a58282bacda7552d294e0f99562ece74cf22.tar.gz
mtk-20170518-0cf1a58282bacda7552d294e0f99562ece74cf22.tar.bz2
Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
Diffstat (limited to 'package/pptp')
-rw-r--r--package/pptp/files/pptp.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pptp/files/pptp.sh b/package/pptp/files/pptp.sh
index f1c46c9..0743082 100644
--- a/package/pptp/files/pptp.sh
+++ b/package/pptp/files/pptp.sh
@@ -23,7 +23,7 @@ setup_interface_pptp() {
# make sure the network state references the correct ifname
scan_ppp "$config"
config_get ifname "$config" ifname
- uci set "/var/state/network.$config.ifname=$ifname"
+ uci_set_state network "$config" ifname "$ifname"
config_get mtu "$cfg" mtu
config_get server "$cfg" server