Subject: Re: starting mysqld @ boot [1.6.2 stable] MySQL
To: None <timo.schoeler@macfinity.net>
From: Mark Thomas <mark@theswamp.org>
List: netbsd-help
Date: 03/27/2004 11:46:41
> hi,
> 
> have you tried
> 
> cp /usr/pkg/etc/rc.d/mysqld /etc/rc.d/
> 
> add 'mysqld=YES' to /etc/rc.conf
> 
> ?
Yes, same warning message.

how about something like this? It works, but is it the right way!
-- /etc/rc.d/mysqld
#!/bin/sh
#
# Start the MySQL database server
#
case "$1" in
'start')
/usr/pkg/bin/mysql.server start ;;
'stop')
/usr/pkg/bin/mysql.server stop ;;
'restart')
/usr/pkg/bin/mysql.server restart ;;
*)
echo "usage $0 start|stop|restart" ;;
esac

-- 
 _
( ) ASCII ribbon campaign   Mark Thomas
 X  against HTML e-mail     www.theswamp.org
/ \