blob: 81e2228bf76be61b6c2e58fb0cc4d8da45c9d3bd (
plain)
1
2
3
4
5
6
7
|
#!/bin/bash
# get the username from the parameters
USER=$2
# if there is a session already for this user, terminate the old one
rm -f /var/run/ppp/current_user/$USER
echo $2 link down ! >> /var/run/ppp/user_access.log
|