1 2 3 4 5 6 7
#!/bin/sh # record login /usr/bin/logger -p local3.info "l2tp,login,$1,$4,$5" /sbin/ifconfig $1 group l2tp