mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 10:56:27 -04:00
22 lines
343 B
Bash
22 lines
343 B
Bash
#!/bin/sh -
|
|
|
|
if [ -r /etc/defaults/periodic.conf ]; then
|
|
. /etc/defaults/periodic.conf
|
|
source_periodic_confs
|
|
fi
|
|
|
|
rc=0
|
|
|
|
case "${samdrucker_client_enable:-YES}" in
|
|
[Yy][Ee][Ss])
|
|
anticongestion
|
|
if ! %%PREFIX%%/bin/samdrucker.sh ; then
|
|
echo 'ouch, something went wrong with %%PREFIX%%/bin/samdrucker.sh'
|
|
rc=2
|
|
fi
|
|
;;
|
|
*)
|
|
;;
|
|
esac
|
|
|
|
exit $rc
|