From a357d7d794990d3123a36c6690ccf5ac8ed979fb Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 20 Jan 2012 14:57:25 +0100 Subject: [PATCH] support adding start on boot on archlinux (no removal so far) Signed-off-by: Nico Schottelius --- conf/type/__start_on_boot/gencode-remote | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/type/__start_on_boot/gencode-remote b/conf/type/__start_on_boot/gencode-remote index 5e9c6343..c13013ad 100755 --- a/conf/type/__start_on_boot/gencode-remote +++ b/conf/type/__start_on_boot/gencode-remote @@ -33,12 +33,12 @@ state_is=$(cat "$__object/explorer/state") os=$(cat "$__global/explorer/os") name="$__object_id" -# Support runlevels later -#runlevel=$(cat $__global/explorer/runlevel) - case "$state_should" in present) case "$os" in + archlinux) + echo sed -i /etc/rc.conf \"s/^\\(DAEMONS=.*\\))/\\1 foo)/\" + ;; debian|ubuntu) # This does not work as expected: # insserv: warning: current start runlevel(s) (3 4 5) of script `postfix' overwrites defaults (2 3 4 5).