1 |
brianr |
1.1 |
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 |
2 |
|
|
--- 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 |
3 |
|
|
+++ smeserver-ddclient-1.3.0/root/etc/e-smith/templates/etc/ppp/ip-up.local/45ddclient 2022-01-17 11:36:13.771412589 +0000 |
4 |
|
|
@@ -1,4 +1,12 @@ |
5 |
|
|
|
6 |
|
|
# [ -x /etc/ppp/ddclient_ip-up.local ] && /etc/ppp/ddclient_ip-up.local "$@" |
7 |
|
|
# [ -x /etc/rc.d/init.d/ddclient ] && /etc/rc.d/init.d/ddclient restart |
8 |
|
|
-/usr/sbin/ddclient -file /etc/ddclient/ddclient.conf |
9 |
|
|
+{ |
10 |
|
|
+$debug = (($ddclient{'debug'} eq 'enabled') ? "debug" : "nodebug"); |
11 |
|
|
+$verbose = (($ddclient{'verbose'} eq 'enabled') ? "verbose" : "noverbose"); |
12 |
|
|
+$quiet = (($ddclient{'quiet'} eq 'enabled') ? "quiet" : "noquiet"); |
13 |
|
|
+$syslog = (($ddclient{'syslog'} eq "enabled") ? "syslog" : "nosyslog"); |
14 |
|
|
+$OUT .= "\/usr\/sbin\/ddclient -file \/etc\/ddclient\/ddclient.conf -$debug -$verbose -$quiet -$syslog -pid \/var\/run\/ddclient\/ddclient.pid"; |
15 |
|
|
+$OUT .= "\n"; |
16 |
|
|
+} |
17 |
|
|
+ |