https://bugs.koozali.org/show_bug.cgi?id=11849
Bug ID: 11849
Summary: Initial run of ddclient when internet comes up does
not honour the config db debug
Classification: Contribs
Product: SME Contribs
Version: Futur
Hardware: ---
OS: ---
Status: CONFIRMED
Severity: normal
Priority: P3
Component: smeserver-ddclient
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Target Milestone: ---
Contents of /etc/pppp.ip-up.local:
#--------------------------------------------------
# Run these commands whenever a PPP connection is established.
#--------------------------------------------------
IPPARAM=$6
NEWIP=$4
EXTERNALIP=$(/sbin/e-smith/config get ExternalIP)
LOCALIP=$(/sbin/e-smith/config get LocalIP)
# Set the umask to create world readable files by default - we
# inherit umask of 077, it seems
umask 022
case $IPPARAM in
wan)
case $NEWIP in
$EXTERNALIP) ;; # No ip change - short-circuit
*) /sbin/e-smith/signal-event ip-change $4
esac
/sbin/e-smith/signal-event ip-up "$@"
;;
esac
# [ -x /etc/ppp/ddclient_ip-up.local ] && /etc/ppp/ddclient_ip-up.local "$@"
# [ -x /etc/rc.d/init.d/ddclient ] && /etc/rc.d/init.d/ddclient restart
/usr/sbin/ddclient -file /etc/ddclient/ddclient.conf
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/