https://bugs.koozali.org/show_bug.cgi?id=11849
--- Comment #2 from Brian Read <[email protected]> ---
diff -urN
smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/etc/ppp/ip-up.local/45ddclient
smeserver-ddclient-1.3.0/root/etc/e-smith/templates/etc/ppp/ip-
up.local/45ddclient
---
smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/etc/ppp/ip-up.local/45ddclient
2022-01-17 10:58:15.288234383 +0000
+++
smeserver-ddclient-1.3.0/root/etc/e-smith/templates/etc/ppp/ip-up.local/45ddclient
2022-01-17 11:36:13.771412589 +0000
@@ -1,4 +1,12 @@
# [ -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
+{
+$debug = (($ddclient{'debug'} eq 'enabled') ? "debug" : "nodebug");
+$verbose = (($ddclient{'verbose'} eq 'enabled') ? "verbose" : "noverbose");
+$quiet = (($ddclient{'quiet'} eq 'enabled') ? "quiet" : "noquiet");
+$syslog = (($ddclient{'syslog'} eq "enabled") ? "syslog" : "nosyslog");
+$OUT .= "\/usr\/sbin\/ddclient -file \/etc\/ddclient\/ddclient.conf -$debug
-$verbose -$quiet -$syslog -pid \/var\/run\/ddclient\/ddclient.pid";
+$OUT .= "\n";
+}
+
--
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/