summaryrefslogtreecommitdiffhomepage
path: root/proto/ppp.sh
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-09-11 12:35:21 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-09-11 12:35:35 +0200
commit7f081660bf24fed49a716022a6ea17bb1dcde73a (patch)
treeb64c2a4926b2e6370c53117f85dac0727e2bbf39 /proto/ppp.sh
parentf505119b07b89ad23f4264e77b0bf0f0c0400399 (diff)
proto-shell: add a config option for setting PROTO_FLAG_NODEV
Diffstat (limited to 'proto/ppp.sh')
-rwxr-xr-xproto/ppp.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/ppp.sh b/proto/ppp.sh
index 9a5816b..7eed579 100755
--- a/proto/ppp.sh
+++ b/proto/ppp.sh
@@ -17,7 +17,8 @@ ppp_teardown() {
}
ppp_init() {
- return
+ no_device=1
+ available=1
}
add_protocol ppp