r4692 - trunk/bootscripts/blfs/init.d

dj at linuxfromscratch.org dj at linuxfromscratch.org
Thu Jul 7 22:11:15 PDT 2005


Author: dj
Date: 2005-07-07 23:11:15 -0600 (Thu, 07 Jul 2005)
New Revision: 4692

Modified:
   trunk/bootscripts/blfs/init.d/samba
   trunk/bootscripts/blfs/init.d/sendmail
   trunk/bootscripts/blfs/init.d/sshd
   trunk/bootscripts/blfs/init.d/stunnel
   trunk/bootscripts/blfs/init.d/svn
   trunk/bootscripts/blfs/init.d/sysstat
   trunk/bootscripts/blfs/init.d/vsftpd
   trunk/bootscripts/blfs/init.d/winbind
   trunk/bootscripts/blfs/init.d/xinetd
Log:
New functions round four...

Modified: trunk/bootscripts/blfs/init.d/samba
===================================================================
--- trunk/bootscripts/blfs/init.d/samba	2005-07-08 05:10:22 UTC (rev 4691)
+++ trunk/bootscripts/blfs/init.d/samba	2005-07-08 05:11:15 UTC (rev 4692)
@@ -12,26 +12,26 @@
 
 case "$1" in
 	start)
-		echo "Starting nmbd..."
+		boot_mesg "Starting nmbd..."
 		loadproc /usr/sbin/nmbd -D
 
-		echo "Starting smbd..."
+		boot_mesg "Starting smbd..."
 		loadproc /usr/sbin/smbd -D
 		;;
 
 	stop)
-		echo "Stopping smbd..."
+		boot_mesg "Stopping smbd..."
 		killproc /usr/sbin/smbd
 
-		echo "Stopping nmbd..."
+		boot_mesg "Stopping nmbd..."
 		killproc /usr/sbin/nmbd
                 ;;
 
 	reload)
-		echo "Reloading smbd..."
+		boot_mesg "Reloading smbd..."
 		reloadproc /usr/sbin/smbd
 
-		echo "Reloading nmbd..."
+		boot_mesg "Reloading nmbd..."
 		reloadproc /usr/sbin/nmbd
 		;;
 

Modified: trunk/bootscripts/blfs/init.d/sendmail
===================================================================
--- trunk/bootscripts/blfs/init.d/sendmail	2005-07-08 05:10:22 UTC (rev 4691)
+++ trunk/bootscripts/blfs/init.d/sendmail	2005-07-08 05:11:15 UTC (rev 4692)
@@ -12,12 +12,12 @@
 
 case "$1" in
 	start)
-		echo "Starting sendmail..."
+		boot_mesg "Starting sendmail..."
 		loadproc /usr/sbin/sendmail -bs -bd -q5m start
 		;;
 
 	stop)
-		echo "Stopping Sendmail..."
+		boot_mesg "Stopping Sendmail..."
 		killproc /usr/sbin/sendmail
 		;;
 

Modified: trunk/bootscripts/blfs/init.d/sshd
===================================================================
--- trunk/bootscripts/blfs/init.d/sshd	2005-07-08 05:10:22 UTC (rev 4691)
+++ trunk/bootscripts/blfs/init.d/sshd	2005-07-08 05:11:15 UTC (rev 4692)
@@ -12,17 +12,17 @@
 
 case "$1" in
 	start)
-		echo "Starting SSH Server..."
+		boot_mesg "Starting SSH Server..."
 		loadproc /usr/sbin/sshd
 		;;
 
 	stop)
-		echo "Stopping SSH Server..."
+		boot_mesg "Stopping SSH Server..."
 		killproc /usr/sbin/sshd
 		;;
 
 	reload)
-		echo "Reloading SSH Server..."
+		boot_mesg "Reloading SSH Server..."
 		reloadproc /usr/sbin/sshd
 		;;
 

Modified: trunk/bootscripts/blfs/init.d/stunnel
===================================================================
--- trunk/bootscripts/blfs/init.d/stunnel	2005-07-08 05:10:22 UTC (rev 4691)
+++ trunk/bootscripts/blfs/init.d/stunnel	2005-07-08 05:11:15 UTC (rev 4692)
@@ -12,12 +12,12 @@
 
 case "$1" in
         start)
-                echo "Starting the Stunnel Daemon..."
+                boot_mesg "Starting the Stunnel Daemon..."
                 loadproc /usr/sbin/stunnel
                 ;;
 
         stop)
-                echo "Stopping the Stunnel Daemon..."
+                boot_mesg "Stopping the Stunnel Daemon..."
                 killproc /usr/sbin/stunnel
                 ;;
 

Modified: trunk/bootscripts/blfs/init.d/svn
===================================================================
--- trunk/bootscripts/blfs/init.d/svn	2005-07-08 05:10:22 UTC (rev 4691)
+++ trunk/bootscripts/blfs/init.d/svn	2005-07-08 05:11:15 UTC (rev 4692)
@@ -12,12 +12,12 @@
 
 case "$1" in
 	start)
-		echo "Starting Subversion..."
+		boot_mesg "Starting Subversion..."
 		loadproc /usr/bin/svnserve -d -r /srv/svn/repositories
 		;;
 
 	stop)
-		echo "Stopping Subversion..."
+		boot_mesg "Stopping Subversion..."
 		killproc /usr/bin/svnserve.orig
 		;;
 

Modified: trunk/bootscripts/blfs/init.d/sysstat
===================================================================
--- trunk/bootscripts/blfs/init.d/sysstat	2005-07-08 05:10:22 UTC (rev 4691)
+++ trunk/bootscripts/blfs/init.d/sysstat	2005-07-08 05:11:15 UTC (rev 4692)
@@ -12,7 +12,7 @@
 
 case "$1" in
         start)
-                echo "Calling the system activity data collector (sadc)..."
+                boot_mesg "Calling the system activity data collector (sadc)..."
                 /usr/lib/sa/sadc -F -L -
                 evaluate_retval
                 ;;

Modified: trunk/bootscripts/blfs/init.d/vsftpd
===================================================================
--- trunk/bootscripts/blfs/init.d/vsftpd	2005-07-08 05:10:22 UTC (rev 4691)
+++ trunk/bootscripts/blfs/init.d/vsftpd	2005-07-08 05:11:15 UTC (rev 4692)
@@ -12,17 +12,17 @@
 
 case "$1" in
 	start)
-		echo "Starting vsFTPD Server..."
+		boot_mesg "Starting vsFTPD Server..."
 		loadproc /usr/sbin/vsftpd
 		;;
 
 	stop)
-		echo "Stopping vsFTPD Server..."
+		boot_mesg "Stopping vsFTPD Server..."
 		killproc /usr/sbin/vsftpd
 		;;
 
 	reload)
-		echo "Reloading vsFTPD Server..."
+		boot_mesg "Reloading vsFTPD Server..."
 		reloadproc /usr/sbin/vsftpd
 		;;
 

Modified: trunk/bootscripts/blfs/init.d/winbind
===================================================================
--- trunk/bootscripts/blfs/init.d/winbind	2005-07-08 05:10:22 UTC (rev 4691)
+++ trunk/bootscripts/blfs/init.d/winbind	2005-07-08 05:11:15 UTC (rev 4692)
@@ -16,17 +16,17 @@
 case "$1" in
 
         start)
-                echo "Starting winbind..."
+                boot_mesg "Starting winbind..."
                 loadproc /usr/sbin/winbindd
                 ;;
 
         stop)
-                echo "Stopping winbind..."
-		killproc
+                boot_mesg "Stopping winbind..."
+		killproc -p ${PIDFILE} /usr/sbin/winbind
 		;;
 
 	reload)
-		echo "Reloading winbind..."
+		boot_mesg "Reloading winbind..."
 		reloadproc /usr/sbin/winbindd
 		;;
 

Modified: trunk/bootscripts/blfs/init.d/xinetd
===================================================================
--- trunk/bootscripts/blfs/init.d/xinetd	2005-07-08 05:10:22 UTC (rev 4691)
+++ trunk/bootscripts/blfs/init.d/xinetd	2005-07-08 05:11:15 UTC (rev 4692)
@@ -12,17 +12,17 @@
 
 case "$1" in
 	start)
-		echo "Starting xinetd..."
+		boot_mesg "Starting xinetd..."
 		loadproc /usr/sbin/xinetd
 		;;
 
 	stop)
-		echo "Stopping xinetd..."
+		boot_mesg "Stopping xinetd..."
 		killproc /usr/sbin/xinetd
 		;;
 
 	reload)
-		echo "Reloading xinetd..."
+		boot_mesg "Reloading xinetd..."
 		reloadproc /usr/sbin/xinetd
 		;;
 




More information about the blfs-book mailing list