Merge branch '__start_on_boot' of https://github.com/asteven/cdist

This commit is contained in:
Nico Schottelius 2012-04-04 09:47:02 +02:00
commit 0a03a15537

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"