diff options
| -rwxr-xr-x | meta/recipes-core/sysvinit/sysvinit/bootlogd.init | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/meta/recipes-core/sysvinit/sysvinit/bootlogd.init b/meta/recipes-core/sysvinit/sysvinit/bootlogd.init index 7d6518d981..06af465a5b 100755 --- a/meta/recipes-core/sysvinit/sysvinit/bootlogd.init +++ b/meta/recipes-core/sysvinit/sysvinit/bootlogd.init | |||
| @@ -46,7 +46,7 @@ esac | |||
| 46 | 46 | ||
| 47 | case "$ACTION" in | 47 | case "$ACTION" in |
| 48 | start) | 48 | start) |
| 49 | echo -n "Starting $DESC: " | 49 | [ "${VERBOSE}" != "no" ] && echo -n "Starting $DESC: " |
| 50 | if [ -d /proc/1/. ] | 50 | if [ -d /proc/1/. ] |
| 51 | then | 51 | then |
| 52 | umask 027 | 52 | umask 027 |
| @@ -55,10 +55,12 @@ case "$ACTION" in | |||
| 55 | else | 55 | else |
| 56 | $DAEMON -r -c | 56 | $DAEMON -r -c |
| 57 | fi | 57 | fi |
| 58 | echo "$NAME." | 58 | [ "${VERBOSE}" != "no" ] && echo "$NAME." |
| 59 | ;; | 59 | ;; |
| 60 | stop) | 60 | stop) |
| 61 | echo -n "Stopping $DESC: " | 61 | # stop may get called during bootup, so let it honor |
| 62 | # rcS VERBOSE setting | ||
| 63 | [ "${VERBOSE}" != "no" ] && echo -n "Stopping $DESC: " | ||
| 62 | start-stop-daemon --stop --quiet --exec $DAEMON | 64 | start-stop-daemon --stop --quiet --exec $DAEMON |
| 63 | 65 | ||
| 64 | if [ "$STOPPER" ] && [ -f /var/log/boot ] && \ | 66 | if [ "$STOPPER" ] && [ -f /var/log/boot ] && \ |
| @@ -71,7 +73,7 @@ case "$ACTION" in | |||
| 71 | mv boot~ boot.0 | 73 | mv boot~ boot.0 |
| 72 | fi | 74 | fi |
| 73 | 75 | ||
| 74 | echo "$NAME." | 76 | [ "${VERBOSE}" != "no" ] && echo "$NAME." |
| 75 | ;; | 77 | ;; |
| 76 | restart|force-reload) | 78 | restart|force-reload) |
| 77 | echo -n "Restarting $DESC: " | 79 | echo -n "Restarting $DESC: " |
