[oe] [meta-networking][PATCH] snmpd: instead option -LS by -Ls

Bian Naimeng biannm at cn.fujitsu.com
Tue Feb 10 01:38:52 UTC 2015


Option -LS does not work, we should instead it by -Ls as usage said.

 Deprecated options:
   -l FILE               use -Lf <FILE> instead
   -P                    use -p instead
   -s                    use -Lsd instead
   -S d|i|0-7            use -Ls <facility> instead

Signed-off-by: Bian Naimeng <biannm at cn.fujitsu.com>
---
 meta-networking/recipes-protocols/net-snmp/net-snmp/snmpd.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp/snmpd.service b/meta-networking/recipes-protocols/net-snmp/net-snmp/snmpd.service
index 10a1eb2..3b336a0 100644
--- a/meta-networking/recipes-protocols/net-snmp/net-snmp/snmpd.service
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp/snmpd.service
@@ -4,7 +4,7 @@ After=syslog.target network.target
 
 [Service]
 Type=notify
-Environment=OPTIONS="-LS0-6d"
+Environment=OPTIONS="-Ls0-6d"
 EnvironmentFile=-/etc/default/snmpd
 ExecStart=/usr/sbin/snmpd $OPTIONS -f
 ExecReload=/bin/kill -HUP $MAINPID
-- 
1.9.1




More information about the Openembedded-devel mailing list