Add dhclient service
This commit is contained in:
@@ -2,4 +2,4 @@ devpts
|
|||||||
tmpfs-shm
|
tmpfs-shm
|
||||||
local-fs
|
local-fs
|
||||||
std-stream
|
std-stream
|
||||||
hostname
|
dhclient
|
||||||
|
|||||||
1
busybox/dhclient-log/consumer-for
Normal file
1
busybox/dhclient-log/consumer-for
Normal file
@@ -0,0 +1 @@
|
|||||||
|
dhclient-srv
|
||||||
1
busybox/dhclient-log/dependencies
Normal file
1
busybox/dhclient-log/dependencies
Normal file
@@ -0,0 +1 @@
|
|||||||
|
remount-root
|
||||||
1
busybox/dhclient-log/notification-fd
Normal file
1
busybox/dhclient-log/notification-fd
Normal file
@@ -0,0 +1 @@
|
|||||||
|
3
|
||||||
1
busybox/dhclient-log/pipeline-name
Normal file
1
busybox/dhclient-log/pipeline-name
Normal file
@@ -0,0 +1 @@
|
|||||||
|
dhclient
|
||||||
10
busybox/dhclient-log/run
Normal file
10
busybox/dhclient-log/run
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/execlineb -P
|
||||||
|
|
||||||
|
s6-envuidgid -B root:root
|
||||||
|
multisubstitute {
|
||||||
|
importas -u UID UID
|
||||||
|
importas -u GID GID
|
||||||
|
}
|
||||||
|
if { install -dm 750 -o $UID -g $GID /var/log/dhclient }
|
||||||
|
s6-setuidgid ${UID}:${GID}
|
||||||
|
exec -c s6-log -d3 -- n4 s500000 T /var/log/dhclient
|
||||||
1
busybox/dhclient-log/type
Normal file
1
busybox/dhclient-log/type
Normal file
@@ -0,0 +1 @@
|
|||||||
|
longrun
|
||||||
1
busybox/dhclient-srv/dependencies
Normal file
1
busybox/dhclient-srv/dependencies
Normal file
@@ -0,0 +1 @@
|
|||||||
|
hostname
|
||||||
1
busybox/dhclient-srv/producer-for
Normal file
1
busybox/dhclient-srv/producer-for
Normal file
@@ -0,0 +1 @@
|
|||||||
|
dhclient-log
|
||||||
4
busybox/dhclient-srv/run
Normal file
4
busybox/dhclient-srv/run
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/execlineb -P
|
||||||
|
|
||||||
|
fdmove -c 2 1
|
||||||
|
dhclient -d
|
||||||
1
busybox/dhclient-srv/type
Normal file
1
busybox/dhclient-srv/type
Normal file
@@ -0,0 +1 @@
|
|||||||
|
longrun
|
||||||
Reference in New Issue
Block a user