1 2 3 4 5
#!/bin/sh # record logout /usr/bin/logger -p local3.info "pptp,logout,$1,$4,$5" /sbin/pfctl -b $3 -b $4