projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more cleanup (make sure to pass TARGET_PATH and not just TARGET_CC)
[openwrt-10.03/.git]
/
package
/
ppp
/
files
/
etc
/
ppp
/
ip-down
diff --git
a/package/ppp/files/etc/ppp/ip-down
b/package/ppp/files/etc/ppp/ip-down
index 044759fbf1de9b2b160a61008ba0efe2662ab50a..334bcb885afdd68e4f4a2ebd58acc2b9277cd6f9 100755
(executable)
--- a/
package/ppp/files/etc/ppp/ip-down
+++ b/
package/ppp/files/etc/ppp/ip-down
@@
-1,2
+1,9
@@
#!/bin/sh
[ -z "$6" ] || env -i ACTION="ifdown" INTERFACE="$6" PROTO=ppp /sbin/hotplug "iface"
+
+[ -d /etc/ppp/ip-down.d ] && {
+ for SCRIPT in /etc/ppp/ip-down.d/*
+ do
+ [ -x "$SCRIPT" ] && "$SCRIPT" $@
+ done
+}