> the following snippet is from the debian init-scripts: > > ... > > DBSTARTCMD=/usr/lib/maxdb/programs/bin/x_start > DBSTOPCMD=/usr/lib/maxdb/programs/bin/x_stop > > function stopDatabases() > { > for database in `dbmcli db_enum | awk '/running/ { print $1}' | sort | > uniq`; do > if [ -n $database ]; then > > echo -n " $database" > $DBSTOPCMD $database > /dev/null 2>&1 > fi > done > }
Thank you, that helps!
signature.asc
Description: OpenPGP digital signature