Runscript of 'named' (BIND) has two depend() sections
The file /etc/init.d/named has two separate depend() sections, which may not be what we really want.
--- /etc/init.d/named
+++ /dev/null
@@ -1,91 +0,0 @@
-#!/sbin/runscript
-
-extra_commands="checkconfig checkzones"
-extra_started_commands="reload"
-
-depend() {
- need net
- use logger
- provide dns
-}
-
-: ${NAMED_CONF:=/etc/bind/named.conf}
-
-depend() {
- need net
- after firewall
- use logger
- provide dns
-}
-
(from redmine: issue id 3059, created on 2014-06-19, closed on 2014-06-26)
- Changesets:
- Revision 051dbd72 by Natanael Copa on 2014-06-19T11:53:23Z:
main/bind: remove duplicate depend function
fixes #3059
(cherry picked from commit 6f89add111b93cf1ba82a68db9e37d8288987567)