From cb47a7d56f2e89e5433ea3f4b1ad1009445fed88 Mon Sep 17 00:00:00 2001 From: Istvan Beregszaszi Date: Fri, 6 Apr 2012 00:29:14 +0300 Subject: [PATCH] Fix indenting. --- conf/type/__start_on_boot/gencode-remote | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/type/__start_on_boot/gencode-remote b/conf/type/__start_on_boot/gencode-remote index a6ecf032..ffd30f7f 100755 --- a/conf/type/__start_on_boot/gencode-remote +++ b/conf/type/__start_on_boot/gencode-remote @@ -33,7 +33,7 @@ case "$state_should" in case "$os" in archlinux) echo "sed -i cdist-backup 's/^\\(DAEMONS=.*\\))/\\1 $name)/' /etc/rc.conf" - echo "rm -f /etc/rc.conf.cdist-backup" + echo "rm -f /etc/rc.conf.cdist-backup" ;; debian|ubuntu) echo "update-rc.d \"$name\" defaults >/dev/null" @@ -68,7 +68,7 @@ case "$state_should" in # Replace a) at the beginning b) in the middle c) end d) only # Support @name as well...makes it more ugly, but well... echo "sed -i cdist-backup /etc/rc.conf -e 's/^\\(DAEMONS=(\\)@\\{0,1\\}$name /\\1/' -e 's/^\\(DAEMONS=(.* \\)@\\{0,1\\}$name \\(.*\\)/\\1\\2/' -e 's/^\\(DAEMONS=(.*\\) @\\{0,1\\}$name)/\\1)/' -e 's/^\\(DAEMONS=(\\)@\\{0,1\\}$name)/\\1)/'" - echo "rm -f /etc/rc.conf.cdist-backup" + echo "rm -f /etc/rc.conf.cdist-backup" ;; debian|ubuntu) echo update-rc.d -f \"$name\" remove