2013-02-16 13:27:46 -03:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
INTERFACE=$1 # The interface which is brought up or down
|
|
|
|
STATUS=$2 # The new state of the interface
|
|
|
|
|
|
|
|
case "$STATUS" in
|
|
|
|
'up') # $INTERFACE is up
|
2013-02-27 11:15:51 -03:00
|
|
|
/usr/bin/pamac-check-updates
|
2013-02-16 13:27:46 -03:00
|
|
|
;;
|
|
|
|
esac
|