diff options
author | Steve Price <steve@FreeBSD.org> | 1998-11-21 20:13:52 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1998-11-21 20:13:52 +0000 |
commit | 04248aec438ba3aa14620f6170b5e05089351b31 (patch) | |
tree | eb9d7bad4e0f63b06ee061fa17d96c9fec2840e4 /databases/mysql54-server/files/patch-af | |
parent | Update to use the www/netscape3 port. (diff) |
Update to version 3.22.10-beta.
PR: 8701
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=14746
Diffstat (limited to 'databases/mysql54-server/files/patch-af')
-rw-r--r-- | databases/mysql54-server/files/patch-af | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/databases/mysql54-server/files/patch-af b/databases/mysql54-server/files/patch-af index e3ba06c5d132..9318e20d9f0a 100644 --- a/databases/mysql54-server/files/patch-af +++ b/databases/mysql54-server/files/patch-af @@ -1,5 +1,5 @@ ---- scripts/safe_mysqld.sh.orig Wed Oct 7 10:30:58 1998 -+++ scripts/safe_mysqld.sh Wed Oct 21 15:05:52 1998 +--- scripts/safe_mysqld.sh.orig Wed Nov 4 13:21:22 1998 ++++ scripts/safe_mysqld.sh Tue Nov 10 16:59:51 1998 @@ -12,33 +12,9 @@ trap '' 1 2 3 15 # we shouldn't let anyone kill us @@ -35,10 +35,10 @@ +DATADIR=@localstatedir@ +ledir=@libexecdir@ - pidfile=$DATADIR/`@HOSTNAME@`.pid + pid_file=$DATADIR/`@HOSTNAME@`.pid log=$DATADIR/`@HOSTNAME@`.log -@@ -103,33 +79,6 @@ - if test ! -f $pidfile # This is removed if normal shutdown +@@ -114,33 +90,6 @@ + if test ! -f $pid_file # This is removed if normal shutdown then break; - fi @@ -50,7 +50,7 @@ - # The only thing is ps x => redhat 5 gives warnings when using ps -x. - # kill -9 is used or the proces won't react on the kill. - numofproces=`ps x | grep -v "grep" | grep -c $ledir/mysqld` -- echo -e "\nNumber of processes running now: $numofproces" | tee -a $err +- echo -e "\nNumber of processes running now: $numofproces" | tee -a $err_log - I=1 - while test "$I" -le "$numofproces" - do @@ -62,12 +62,12 @@ - # echo "TEST $I - $T **" - if kill -9 $T - then -- echo "mysqld proces hanging, pid $T - killed" | tee -a $err +- echo "mysqld proces hanging, pid $T - killed" | tee -a $err_log - else - break - fi - I=`expr $I + 1` - done fi - echo "mysqld restarted on " `date` | tee -a $err + echo "mysqld restarted on " `date` | tee -a $err_log done |