[base-files] allow specifying port where to log (#2019)
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 3 Feb 2009 20:26:00 +0000 (20:26 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 3 Feb 2009 20:26:00 +0000 (20:26 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14396 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/base-files/files/etc/init.d/boot

index f9f6c2d..b03209d 100755 (executable)
@@ -19,7 +19,8 @@ system_config() {
 
        config_get log_ip "$cfg" log_ip 
        config_get log_size "$cfg" log_size
-       syslogd -C${log_size:-16} ${log_ip:+-L -R $log_ip}
+       config_get log_port "$cfg" log_port
+       syslogd -C${log_size:-16} ${log_ip:+-L -R $log_ip${log_port:+:$log_port}}
        klogd
 }
 
This page took 0.030522 seconds and 4 git commands to generate.