updated on Mon Jan 23 16:10:15 UTC 2012
[aur-mirror.git] / speedtch / speedtch.hotplug
blob2cfd7491df6503151fa7e9b3d36422d0f60a70b9
1 #!/bin/sh
2 case $ACTION in
3 add)
4 if [[ ! -z "$SEQNUM" -a ! -f /tmp/bla ]]; then
5 sleep 1;
6 /usr/sbin/pppd call speedtch &> /tmp/bla;
7 echo -e "--- $SEQNUM ---\n$DEVPATH" >> /tmp/bla;
8 fi
9 ;;
11 echo -n "speedtch unknown action: $ACTION" >> /tmp/unknown-action;
12 esac