summaryrefslogtreecommitdiff
path: root/busybox/dhclient-log/run
blob: ddf5e401cfb4f1b30c55108818a9bb52b65716b6 (plain)
1
2
3
4
5
6
7
8
9
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