mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
e3bea4f57f
- connect to license framework - add special patch from glarkin to ensure daemon detach from tty, change some printf to use the warning function instead. PR: 148586 Submitted by: Chris Howey <howeyc _at_ gmail.com> Approved by: maintainer, glarkin (mentor)
29 lines
391 B
Bash
29 lines
391 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# If there is a global system configuration file, suck it in.
|
|
#
|
|
if [ -r /etc/defaults/periodic.conf ]
|
|
then
|
|
. /etc/defaults/periodic.conf
|
|
source_periodic_confs
|
|
fi
|
|
|
|
case "$daily_ddclient_force_enable" in
|
|
[Yy][Ee][Ss])
|
|
echo
|
|
echo 'Forcing ddclient update:'
|
|
|
|
out=`%%PREFIX%%/sbin/ddclient -force`
|
|
echo "$out"
|
|
rc=0
|
|
;;
|
|
*)
|
|
rc=0
|
|
;;
|
|
esac
|
|
|
|
exit $rc
|