[packages] ddns-scripts:
add option use_syslog to enable logging to syslog use wget when it's compiled with ssl support Signed-off-by: Peter Wagner <tripolar@gmx.at> git-svn-id: svn://svn.openwrt.org/openwrt/packages@38548 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -108,6 +108,14 @@ verbose_echo()
|
||||
fi
|
||||
}
|
||||
|
||||
syslog_echo()
|
||||
{
|
||||
if [ "$use_syslog" = 1 ]
|
||||
then
|
||||
echo $1|logger -t ddns-scripts-$service_id
|
||||
fi
|
||||
}
|
||||
|
||||
start_daemon_for_all_ddns_sections()
|
||||
{
|
||||
local event_interface="$1"
|
||||
|
Reference in New Issue
Block a user