r4689 - trunk/bootscripts/blfs/init.d

dj at linuxfromscratch.org dj at linuxfromscratch.org
Thu Jul 7 22:02:31 PDT 2005


Author: dj
Date: 2005-07-07 23:02:30 -0600 (Thu, 07 Jul 2005)
New Revision: 4689

Modified:
   trunk/bootscripts/blfs/init.d/alsa
   trunk/bootscripts/blfs/init.d/apache
   trunk/bootscripts/blfs/init.d/bind
   trunk/bootscripts/blfs/init.d/cups
   trunk/bootscripts/blfs/init.d/dhcp
   trunk/bootscripts/blfs/init.d/fam
   trunk/bootscripts/blfs/init.d/fcron
   trunk/bootscripts/blfs/init.d/gdm
Log:
New functions round one...

Modified: trunk/bootscripts/blfs/init.d/alsa
===================================================================
--- trunk/bootscripts/blfs/init.d/alsa	2005-07-08 02:13:40 UTC (rev 4688)
+++ trunk/bootscripts/blfs/init.d/alsa	2005-07-08 05:02:30 UTC (rev 4689)
@@ -14,16 +14,16 @@
 
 case "$1" in
 	start)
-		echo "Starting ALSA...    Restoring volumes..."
+		boot_mesg "Starting ALSA...    Restoring volumes..."
 		loadproc /usr/sbin/alsactl restore
-		#echo "                    Loading MIDI font..."
-		#loadproc /usr/sbin/sfxload /path/to/soundfont
+		# boot_mesg "Loading MIDI font..."
+		# loadproc /usr/sbin/sfxload /path/to/soundfont
 		;;
 
 	stop)
-		echo "Stopping ALSA...    Saving volumes..."
+		boot_mesg "Stopping ALSA...    Saving volumes..."
 		loadproc /usr/sbin/alsactl store
-		#echo "                    Removing MIDI font..."
+		#boot_mesg "                    Removing MIDI font..."
 		#loadproc sfxload -i
 		;;
 

Modified: trunk/bootscripts/blfs/init.d/apache
===================================================================
--- trunk/bootscripts/blfs/init.d/apache	2005-07-08 02:13:40 UTC (rev 4688)
+++ trunk/bootscripts/blfs/init.d/apache	2005-07-08 05:02:30 UTC (rev 4689)
@@ -12,19 +12,19 @@
 
 case "$1" in
 	start)
-		echo "Starting Apache daemon..."
+		boot_mesg "Starting Apache daemon..."
 		/usr/sbin/apachectl -k start
 		evaluate_retval
 		;;
 
 	stop)
-		echo "Stopping Apache daemon..."
+		boot_mesg "Stopping Apache daemon..."
 		/usr/sbin/apachectl -k stop
 		evaluate_retval
 		;;
 
 	restart)
-		echo "Restarting Apache daemon..."
+		boot_mesg "Restarting Apache daemon..."
 		/usr/sbin/apachectl -k restart
 		evaluate_retval
 		;;

Modified: trunk/bootscripts/blfs/init.d/bind
===================================================================
--- trunk/bootscripts/blfs/init.d/bind	2005-07-08 02:13:40 UTC (rev 4688)
+++ trunk/bootscripts/blfs/init.d/bind	2005-07-08 05:02:30 UTC (rev 4689)
@@ -12,13 +12,13 @@
 
 case "$1" in
 	start)
-		echo "Starting named..."
+		boot_mesg "Starting named..."
 		loadproc /usr/sbin/named -u named -t /home/named -c \
 			/etc/named.conf
 		;;
 
 	stop)
-		echo "Stopping named..."
+		boot_mesg "Stopping named..."
 		killproc /usr/sbin/named
 		;;
 
@@ -29,7 +29,7 @@
 		;;
 
 	reload)
-		echo "Reloading named..."
+		boot_mesg "Reloading named..."
 		/usr/sbin/rndc -c /etc/rndc.conf reload
 		;;
 

Modified: trunk/bootscripts/blfs/init.d/cups
===================================================================
--- trunk/bootscripts/blfs/init.d/cups	2005-07-08 02:13:40 UTC (rev 4688)
+++ trunk/bootscripts/blfs/init.d/cups	2005-07-08 05:02:30 UTC (rev 4689)
@@ -11,17 +11,17 @@
 
 case $1 in
 	start)
-		echo "Starting CUPS Printserver..."
+		boot_mesg "Starting CUPS Printserver..."
 		loadproc /usr/sbin/cupsd
 		;;
 
 	stop)
-		echo "Stopping CUPS Printserver..."
+		boot_mesg "Stopping CUPS Printserver..."
 		killproc /usr/sbin/cupsd
 		;;
 
 	reload)
-		echo "Reloading CUPS Printserver..."
+		boot_mesg "Reloading CUPS Printserver..."
 		reloadproc /usr/sbin/cupsd
 		;;
 

Modified: trunk/bootscripts/blfs/init.d/dhcp
===================================================================
--- trunk/bootscripts/blfs/init.d/dhcp	2005-07-08 02:13:40 UTC (rev 4688)
+++ trunk/bootscripts/blfs/init.d/dhcp	2005-07-08 05:02:30 UTC (rev 4689)
@@ -12,17 +12,17 @@
 
 case "$1" in
 	start)
-		echo "Starting DHCP Server..."
+		boot_mesg "Starting DHCP Server..."
 		loadproc /usr/sbin/dhcpd -q eth1
 		;;
 
 	stop)
-		echo "Stopping DHCP Server..."
+		boot_mesg "Stopping DHCP Server..."
 		killproc /usr/sbin/dhcpd
 		;;
 
 	reload)
-		echo "Reloading DHCP Server..."
+		boot_mesg "Reloading DHCP Server..."
 		reloadproc /usr/sbin/dhcpd
 		;;
 

Modified: trunk/bootscripts/blfs/init.d/fam
===================================================================
--- trunk/bootscripts/blfs/init.d/fam	2005-07-08 02:13:40 UTC (rev 4688)
+++ trunk/bootscripts/blfs/init.d/fam	2005-07-08 05:02:30 UTC (rev 4689)
@@ -12,17 +12,17 @@
 
 case "$1" in
 	start)
-		echo "Starting File Alteration Monitor..."
+		boot_mesg "Starting File Alteration Monitor..."
 		loadproc /usr/sbin/famd -T 0
 		;;
 
 	stop)
-		echo "Stopping File Alteration Monitor..."
+		boot_mesg "Stopping File Alteration Monitor..."
 		killproc /usr/sbin/famd
 		;;
 
 	reload)
-		echo "Reloading File Alteration Monitor..."
+		boot_mesg "Reloading File Alteration Monitor..."
 		reloadproc /usr/sbin/famd
 		;;
 

Modified: trunk/bootscripts/blfs/init.d/fcron
===================================================================
--- trunk/bootscripts/blfs/init.d/fcron	2005-07-08 02:13:40 UTC (rev 4688)
+++ trunk/bootscripts/blfs/init.d/fcron	2005-07-08 05:02:30 UTC (rev 4689)
@@ -12,12 +12,12 @@
 
 case "$1" in
 	start)
-		echo "Starting fcron..."
+		boot_mesg "Starting fcron..."
 		loadproc /usr/sbin/fcron
 		;;
 
 	stop)
-		echo "Stopping fcron..."
+		boot_mesg "Stopping fcron..."
 		killproc /usr/sbin/fcron
 		;;
 

Modified: trunk/bootscripts/blfs/init.d/gdm
===================================================================
--- trunk/bootscripts/blfs/init.d/gdm	2005-07-08 02:13:40 UTC (rev 4688)
+++ trunk/bootscripts/blfs/init.d/gdm	2005-07-08 05:02:30 UTC (rev 4689)
@@ -14,24 +14,24 @@
 
 case "$1" in
 	start)
-		echo "Starting GDM..."
+		boot_mesg "Starting GDM..."
 		loadproc gdm
 		;;
 
 	stop)
-		echo "Stopping GDM..."
+		boot_mesg "Stopping GDM..."
 		if [ -f /var/run/gdm.pid ]; then
 			loadproc gdm-stop
 		fi
 		;;
 
 	reload)
-		echo "Reloading GDM..."
+		boot_mesg "Reloading GDM..."
 		loadproc gdm-safe-restart
 		;;
 
 	restart)
-		echo "Restarting GDM..."
+		boot_mesg "Restarting GDM..."
 		loadproc gdm-restart
 		;;
 




More information about the blfs-book mailing list