commit 2f99fd21e3730e3885193f30804ccd756cb62cb5 parent 7d0e5cfd4b4a25706a33614381e0e479c5176bd9 Author: Morel BĂ©renger <berengermorel76@gmail.com> Date: Sun, 15 Nov 2020 15:26:27 +0100 add badconf() function to runit/common Diffstat:
M | templates/generic/root/etc/runit/common | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/templates/generic/root/etc/runit/common b/templates/generic/root/etc/runit/common @@ -1,4 +1,12 @@ #!/bin/sh + +badconf() +{ + echo $@ + echo $@ > ./down + exit 1 +} + set -e exec 2>&1