commit 64accbd18b4c66b3f03eecc5174c445a5918af5a
parent fdd525a4ed7125af54dec8e4447ec069a2cd7e97
Author: Morel BĂ©renger <berenger.morel@neutralite.org>
Date: Thu, 14 Nov 2019 15:36:39 +0100
busybox run scripts now says the service name instead of self when starting
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/etc/busybox/run/dhcpc.run b/etc/busybox/run/dhcpc.run
@@ -2,5 +2,5 @@
. /etc/runit/common
-printf "Preparation done, starting self.\n"
+printf "Preparation done, starting %s.\n" $SVNAME
exec chpst -b udhcpc busybox -i ${IFACE:-$SVNAME} -R -f
diff --git a/etc/busybox/run/getty.run b/etc/busybox/run/getty.run
@@ -2,4 +2,5 @@
. /etc/runit/common
+printf "Preparation done, starting %s.\n" $SVNAME
exec chpst -b getty busybox 0 ${TTY:-$SVNAME}