Add dhclient service
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user