forked from cromer/pamac-classic
11 lines
189 B
Plaintext
11 lines
189 B
Plaintext
|
#!/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
|
||
|
pamac-check-updates
|
||
|
;;
|
||
|
esac
|