From f6e5832fe2cf9cc5a95c7f5a7809bfa5c46ac3f4 Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 28 Feb 2019 14:56:06 -0800 Subject: [PATCH] bugfix: delay start up of snmpd until later in the boot process. On some devices snmpd would start before it's configuration file was created. Changed /etc/rc.d/S50snmpd to /etc/rc.d/S98snmpd --- patches/713-delay-snmpd-startup.patch | 12 ++++++++++++ patches/series | 1 + 2 files changed, 13 insertions(+) create mode 100644 patches/713-delay-snmpd-startup.patch diff --git a/patches/713-delay-snmpd-startup.patch b/patches/713-delay-snmpd-startup.patch new file mode 100644 index 00000000..da1039a5 --- /dev/null +++ b/patches/713-delay-snmpd-startup.patch @@ -0,0 +1,12 @@ +Index: openwrt/feeds/packages/net/net-snmp/files/snmpd.init +=================================================================== +--- openwrt.orig/feeds/packages/net/net-snmp/files/snmpd.init ++++ openwrt/feeds/packages/net/net-snmp/files/snmpd.init +@@ -1,6 +1,6 @@ + #!/bin/sh /etc/rc.common + # Copyright (C) 2008 OpenWrt.org +-START=50 ++START=98 + + USE_PROCD=1 + PROG="/usr/sbin/snmpd" diff --git a/patches/series b/patches/series index f3201eba..b42ebc69 100644 --- a/patches/series +++ b/patches/series @@ -22,3 +22,4 @@ 710-no-ping6-traceroute6.patch 711-nano-xw-switch-config.patch 712-auto-distance-settings.patch +713-delay-snmpd-startup.patch