[Main]
Type = classic
Version = 0.1.0
Description = "dhclient daemon"
User = ( root )
Depends = ( mount-rw )
Options = ( log )

[Start]
Execute = (
	# dhclient in foreground (-d), matching debian/sv/dhclient.
	
	importas -sCuD "" INTERFACES INTERFACES
	
	ifelse { test -n "" } {
		exec /usr/sbin/dhclient -d
	}
	s6-pause
)

[Logger]
RunAs = s6log
Backup = 3
MaxSize = 2000000
Timestamp = tai
Destination = /var/log/dhclient
