wok-4.x rev 2302
mysql,openldap,postgresql: display init scripts status
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 24 11:01:55 2009 +0000 (2009-02-24) |
parents | 5cd5eb008923 |
children | a88940f8334a |
files | mysql/stuff/etc/init.d/mysql openldap/stuff/etc/init.d/openldap postgresql/stuff/etc/init.d/postgresql |
line diff
1.1 --- a/mysql/stuff/etc/init.d/mysql Mon Feb 23 14:02:39 2009 +0100 1.2 +++ b/mysql/stuff/etc/init.d/mysql Tue Feb 24 11:01:55 2009 +0000 1.3 @@ -31,8 +31,9 @@ 1.4 sleep 2 1.5 for i in /etc/mysql.d/* ; do 1.6 [ -x $i ] || continue 1.7 - echo "Running $i..." 1.8 + echo -n "Running $i..." 1.9 $i 1.10 + status 1.11 done 1.12 else 1.13 echo -n "Starting $DESC: $NAME... "
2.1 --- a/openldap/stuff/etc/init.d/openldap Mon Feb 23 14:02:39 2009 +0100 2.2 +++ b/openldap/stuff/etc/init.d/openldap Tue Feb 24 11:01:55 2009 +0000 2.3 @@ -26,8 +26,9 @@ 2.4 status 2.5 for i in /etc/ldap.d/* ; do 2.6 [ -x $i ] || continue 2.7 - echo "Running $i..." 2.8 + echo -n "Running $i..." 2.9 $i 2.10 + status 2.11 done 2.12 else 2.13 echo -n "Starting $DESC: $NAME... "
3.1 --- a/postgresql/stuff/etc/init.d/postgresql Mon Feb 23 14:02:39 2009 +0100 3.2 +++ b/postgresql/stuff/etc/init.d/postgresql Tue Feb 24 11:01:55 2009 +0000 3.3 @@ -27,8 +27,9 @@ 3.4 sleep 2 3.5 for i in /etc/pgsql.d/* ; do 3.6 [ -x $i ] || continue 3.7 - echo "Running $i..." 3.8 + echo -n "Running $i..." 3.9 $i 3.10 + status 3.11 done 3.12 else 3.13 echo -n "Starting $DESC: $NAME... "