From: espie Date: Thu, 26 Dec 2013 18:05:31 +0000 (+0000) Subject: make absence of pkg_scripts non silent, after nits from theo and halex. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=739cb2c231ff70f1edf352d3a87cc9e349bdf77f;p=openbsd make absence of pkg_scripts non silent, after nits from theo and halex. okay rpe@, kirby@ --- diff --git a/etc/rc b/etc/rc index 348c8d64dd9..4a9466de30c 100644 --- a/etc/rc +++ b/etc/rc @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.409 2013/12/17 09:19:45 halex Exp $ +# $OpenBSD: rc,v 1.410 2013/12/26 18:05:31 espie Exp $ # System startup script run by init on autoboot # or after single-user. @@ -511,7 +511,11 @@ rm -f /etc/rc.firsttime.run if [ -n "${pkg_scripts}" ]; then echo -n 'starting package daemons:' for _r in $pkg_scripts; do - [ -x /etc/rc.d/${_r} ] && start_daemon ${_r} + if [ -x /etc/rc.d/${_r} ]; then + start_daemon ${_r} + else + echo -n " ${_r}(absent)" + fi done echo '.' fi