Subject: pkg/24771: Suggested change to bpalogin rc.d script
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <murray@river-styx.org>
List: netbsd-bugs
Date: 03/14/2004 03:58:43
>Number:         24771
>Category:       pkg
>Synopsis:       Suggested change to bpalogin rc.d script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 14 03:59:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Murray Armfield
>Release:        N/A
>Organization:
>Environment:
N/A
>Description:
I use the pkgsrc/net/bpalogin package. It seems to me that the bpalogin
rc.d script could be called more appropriately at a different point
in startup, ie just after dhclient but before DAEMONs as it is required
to be running in order to talk to the rest of the world. Hence my
suggested patch below. Currently, the bpalogin script is executed last.

Tested on NetBSD-1.6.2 (i386)
>How-To-Repeat:
N/A
>Fix:
--- bpalogin.sh.orig    2004-03-14 14:53:12.000000000 +1100
+++ bpalogin.sh
@@ -5,7 +5,8 @@
 # bpalogin startup script
 #
 # PROVIDE: bpalogin
-# REQUIRE: DAEMON dhcpd
+# REQUIRE: dhclient
+# BEFORE: DAEMON

 if [ -f /etc/rc.subr ]
 then
>Release-Note:
>Audit-Trail:
>Unformatted: