Silvan Calarco
690f4a096f
x86_64: install cups backend under %{_prefix}/lib/cups, not %{_libdir}/cups x86_64: install pam and nss libraries under /lib64 instead of /lib use patch to fix smbd link against libtirpc instead of passing LDFLAGS [release 3.6.23-1mamba;Wed Apr 02 2014]
13 lines
293 B
Bash
13 lines
293 B
Bash
#!/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
|
|
[ -f /var/run/samba/winbindd.pid ] || /sbin/service winbind start
|
|
;;
|
|
'down') # $INTERFACE is down
|
|
;;
|
|
esac
|