mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Use a unified vpn-linkup script that detects the type based on interface name.
This commit is contained in:
parent
e9a95ac8a6
commit
2f9d2dc2f0
@ -3,3 +3,14 @@
|
||||
# record login
|
||||
/usr/bin/logger -p local3.info "login,$1,$4,$5"
|
||||
|
||||
case `/bin/echo $1 | /usr/bin/cut -c1-4` in
|
||||
pptp)
|
||||
/sbin/ifconfig $1 group pptp
|
||||
;;
|
||||
poes)
|
||||
/sbin/ifconfig $1 group pppoe
|
||||
;;
|
||||
l2tp)
|
||||
/sbin/ifconfig $1 group l2tp
|
||||
;;
|
||||
esac
|
||||
|
||||
Loading…
Reference in New Issue
Block a user