From 9bdd13d12cc739432efa3f70a04952d902880fe4 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Wed, 8 Oct 2025 12:43:57 +0200 Subject: Add dhclient service --- busybox/dhclient-log/run | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 busybox/dhclient-log/run (limited to 'busybox/dhclient-log/run') 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 -- cgit v1.2.3