# HG changeset patch # User Pascal Bellard # Date 1235473315 0 # Node ID 8a251dbc2bed78671d207724443903499f0bdc25 # Parent 5cd5eb008923e907ac76e08cad2ee9b515e51079 mysql,openldap,postgresql: display init scripts status diff -r 5cd5eb008923 -r 8a251dbc2bed mysql/stuff/etc/init.d/mysql --- a/mysql/stuff/etc/init.d/mysql Mon Feb 23 14:02:39 2009 +0100 +++ b/mysql/stuff/etc/init.d/mysql Tue Feb 24 11:01:55 2009 +0000 @@ -31,8 +31,9 @@ sleep 2 for i in /etc/mysql.d/* ; do [ -x $i ] || continue - echo "Running $i..." + echo -n "Running $i..." $i + status done else echo -n "Starting $DESC: $NAME... " diff -r 5cd5eb008923 -r 8a251dbc2bed openldap/stuff/etc/init.d/openldap --- a/openldap/stuff/etc/init.d/openldap Mon Feb 23 14:02:39 2009 +0100 +++ b/openldap/stuff/etc/init.d/openldap Tue Feb 24 11:01:55 2009 +0000 @@ -26,8 +26,9 @@ status for i in /etc/ldap.d/* ; do [ -x $i ] || continue - echo "Running $i..." + echo -n "Running $i..." $i + status done else echo -n "Starting $DESC: $NAME... " diff -r 5cd5eb008923 -r 8a251dbc2bed postgresql/stuff/etc/init.d/postgresql --- a/postgresql/stuff/etc/init.d/postgresql Mon Feb 23 14:02:39 2009 +0100 +++ b/postgresql/stuff/etc/init.d/postgresql Tue Feb 24 11:01:55 2009 +0000 @@ -27,8 +27,9 @@ sleep 2 for i in /etc/pgsql.d/* ; do [ -x $i ] || continue - echo "Running $i..." + echo -n "Running $i..." $i + status done else echo -n "Starting $DESC: $NAME... "