file must be last argument

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2012-04-03 17:53:28 +02:00
parent 386c12f251
commit 18a25dc65b
1 changed files with 1 additions and 1 deletions

View File

@ -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"