From 3cd742b023e4d726b3f57df53e3a9be9d8bbd681 Mon Sep 17 00:00:00 2001 From: Gernot Tenchio Date: Mon, 14 Feb 2011 13:06:12 +0100 Subject: [PATCH] runit: build and install svwaitup/down commands --- base/runit/runit.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/base/runit/runit.conf b/base/runit/runit.conf index ff41e2ae9..3c06ef702 100644 --- a/base/runit/runit.conf +++ b/base/runit/runit.conf @@ -133,3 +133,7 @@ else hook_add postinstall 8 'sed -i -e "s,/service,/var/service,g" \ $root/lib/network/runit.sh' fi + +hook_add premake 5 "sed -i -e 's:\(^IT=.*\):\1 svwaitup svwaitdown:' src/Makefile; \ + echo 'svwaitup' >> package/commands; \ + echo 'svwaitdown' >> package/commands"