pamac-classic/data/networkmanager/99_update_pamac_tray
Bernhard Landauer 1f34771bce indentation
2016-08-27 23:06:05 +02:00

13 lines
247 B
Bash
Executable File

#!/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
[[ -e /usr/bin/mhwd-live ]] && sleep 30
/usr/bin/pamac-refresh
;;
esac