diff options
| author | Eugen Wissner <belka@caraus.de> | 2025-10-08 12:43:57 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2025-10-08 12:43:57 +0200 |
| commit | 9bdd13d12cc739432efa3f70a04952d902880fe4 (patch) | |
| tree | 03badf18fed1ad8cba439d9425b69ce3cdbb2809 /busybox/dhclient-log/run | |
| parent | 84c64f3e65ee57c5f23082930c35b28dfca696b6 (diff) | |
| download | s6-9bdd13d12cc739432efa3f70a04952d902880fe4.tar.gz | |
Add dhclient service
Diffstat (limited to 'busybox/dhclient-log/run')
| -rw-r--r-- | busybox/dhclient-log/run | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/busybox/dhclient-log/run b/busybox/dhclient-log/run new file mode 100644 index 0000000..ddf5e40 --- /dev/null +++ b/busybox/dhclient-log/run @@ -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 |
