2014-10-22 13:44:02 -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
|
2016-08-27 18:06:05 -03:00
|
|
|
[[ -e /usr/bin/mhwd-live ]] && sleep 30
|
|
|
|
/usr/bin/pamac-refresh
|
2016-08-26 06:50:16 -03:00
|
|
|
;;
|
2014-10-22 13:44:02 -03:00
|
|
|
esac
|
2016-08-26 06:50:16 -03:00
|
|
|
|