projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add support for externally managed ip addresses and routes
[project/netifd.git]
/
proto
/
ppp.sh
diff --git
a/proto/ppp.sh
b/proto/ppp.sh
index
8dd97c0
..
8e8ceb2
100755
(executable)
--- a/
proto/ppp.sh
+++ b/
proto/ppp.sh
@@
-9,7
+9,7
@@
ppp_init_config() {
}
ppp_setup() {
}
ppp_setup() {
- return
+ echo "ppp_setup($1): $2"
}
ppp_teardown() {
}
ppp_teardown() {
@@
-17,7
+17,8
@@
ppp_teardown() {
}
ppp_init() {
}
ppp_init() {
- return
+ no_device=1
+ available=1
}
add_protocol ppp
}
add_protocol ppp
@@
-30,4
+31,12
@@
pppoe_init() {
return
}
return
}
+pppoe_setup() {
+ echo "pppoe_setup($1, $3): $2"
+}
+
+pppoe_teardown() {
+ return
+}
+
add_protocol pppoe
add_protocol pppoe