#! /bin/sh ### BEGIN INIT INFO # Provides: sgbd # Required-Start: $syslog # Required-Stop: $syslog # Should-Start: $local_fs # Should-Stop: $local_fs # Default-Start: 1 2 3 4 5 # Default-Stop: 0 6 # Short-Description: SGBD init script # Description: Dirty hack configure MySQL with password ### END INIT INFO case "$1" in start|restart|reload|force-reload) # Nothing to do mysql_root_passwd || true ;; stop) # Nothing to do ;; *) # nothing to do ;; esac exit 0