From 18a25dc65bf8b00a41ad805efcc2941aa2e61829 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Tue, 3 Apr 2012 17:53:28 +0200 Subject: [PATCH] file must be last argument Signed-off-by: Steven Armstrong --- conf/type/__start_on_boot/gencode-remote | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/type/__start_on_boot/gencode-remote b/conf/type/__start_on_boot/gencode-remote index b9e26815..a64c1096 100755 --- a/conf/type/__start_on_boot/gencode-remote +++ b/conf/type/__start_on_boot/gencode-remote @@ -32,7 +32,7 @@ case "$state_should" in present) case "$os" in archlinux) - echo "sed -i /etc/rc.conf 's/^\\(DAEMONS=.*\\))/\\1 $name)/'" + echo "sed -i 's/^\\(DAEMONS=.*\\))/\\1 $name)/' /etc/rc.conf" ;; debian|ubuntu) echo "update-rc.d \"$name\" defaults >/dev/null"