NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/52397: powerd script references dhclient instead of dhcpcd



>Number:         52397
>Category:       misc
>Synopsis:       powerd script references dhclient instead of dhcpcd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 12 11:50:00 +0000 2017
>Originator:     Chris Humphries
>Release:        7.1
>Organization:
>Environment:
NetBSD shrimpy.sogubsys.com 7.1 NetBSD 7.1 (GENERIC.201703111743Z) amd64

>Description:
dhcpcd appears to be the default dhcp client but powerd script for sleep_button wasn't updated to reflect that.

Note that looking into /etc/powerd/scripts/lid_switch script says to look at sleep_button script.



--snip--
oot:shrimpy /etc/powerd/scripts>> grep dhclient *    
sleep_button:	/etc/rc.d/dhclient stop
sleep_button:	/etc/rc.d/dhclient start
root:shrimpy /etc/powerd/scripts>> grep dhclient sleep_button 
	/etc/rc.d/dhclient stop
	/etc/rc.d/dhclient start
root:shrimpy /etc/powerd/scripts>> grep dhclient /etc/rc.conf
root:shrimpy /etc/powerd/scripts>> grep dhclient /etc/defaults/rc.conf 
# dhclient) may be needed to get the network operational enough to mount
dhclient=NO					# behave as a DHCP client
			dhclient_flags=""	# blank: config all interfaces
root:shrimpy /etc/powerd/scripts>>
--snip--
>How-To-Repeat:

>Fix:
Update sleep_button script to use dhcpcd instead of dhclient



Home | Main Index | Thread Index | Old Index