mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
b96340db55
- check for start/stop arguments in startup file - don't rip off --force option from mysql_install_db
34 lines
954 B
Plaintext
34 lines
954 B
Plaintext
--- scripts/mysql_install_db.sh.orig Wed Jan 12 21:06:30 2000
|
|
+++ scripts/mysql_install_db.sh Sun Mar 26 23:20:27 2000
|
|
@@ -15,8 +15,6 @@
|
|
force=0
|
|
IN_RPM=0
|
|
|
|
-# Are we doing an rpm install?
|
|
-if test "$1" = "-IN-RPM"; then IN_RPM=1; shift; fi
|
|
if test "$1" = "--force"; then force=1; shift; fi
|
|
|
|
# Get mysqld/safe_mysqld options from /etc/my.cnf or ~/.my.cnf
|
|
@@ -60,8 +58,6 @@
|
|
fi
|
|
fi
|
|
|
|
-# On IRIX hostname is in /usr/bsd so add this to the path
|
|
-PATH=$PATH:/usr/bsd
|
|
hostname=`hostname` # Install this too in the user table
|
|
|
|
# Check if hostname is valid
|
|
@@ -255,12 +251,6 @@
|
|
END_OF_DATA
|
|
then
|
|
echo ""
|
|
- if test "$IN_RPM" -eq 0
|
|
- then
|
|
- echo "To start mysqld at boot time you have to copy support-files/mysql.server"
|
|
- echo "to the right place for your system"
|
|
- echo
|
|
- fi
|
|
echo "PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !"
|
|
echo "This is done with:"
|
|
echo "$bindir/mysqladmin -u root password 'new-password'"
|