mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Update OpenVPN to 2.6.9
This commit is contained in:
parent
ec22b7e248
commit
8c9688f82f
3 changed files with 79 additions and 44 deletions
|
@ -7,10 +7,14 @@
|
|||
$*
|
||||
}
|
||||
|
||||
# Wrap user defined scripts on up/down events
|
||||
# Wrap user defined scripts on up/down/route-up/route-pre-down/ipchange events
|
||||
# Scriptp set with up/down/route-up/route-pre-down/ipchange in the openvpn config are also executed with the command=user_xxxx
|
||||
case "$ACTION" in
|
||||
up) command=$user_up ;;
|
||||
down) command=$user_down ;;
|
||||
route-up) command=$user_route_up ;;
|
||||
route-pre-down) command=$user_route_pre_down ;;
|
||||
ipchange) command=$user_ipchange ;;
|
||||
*) command= ;;
|
||||
esac
|
||||
|
||||
|
@ -20,3 +24,4 @@ if [ -n "$command" ]; then
|
|||
fi
|
||||
|
||||
exit 0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue