[Pkg-sysvinit-commits] r126 - sysvinit/trunk/debian/initscripts/etc/init.d

Thomas Hood jdthood-guest at costa.debian.org
Fri Nov 18 12:57:19 UTC 2005


Author: jdthood-guest
Date: 2005-11-18 12:57:18 +0000 (Fri, 18 Nov 2005)
New Revision: 126

Modified:
   sysvinit/trunk/debian/initscripts/etc/init.d/bootclean.sh
Log:
Use log_action_begin_msg and log_action_end_msg instead of log_begin_msg and log_end_msg

Modified: sysvinit/trunk/debian/initscripts/etc/init.d/bootclean.sh
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/bootclean.sh	2005-11-18 12:54:35 UTC (rev 125)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/bootclean.sh	2005-11-18 12:57:18 UTC (rev 126)
@@ -22,7 +22,7 @@
 	#	Wipe /tmp, but exclude system files.
 	#	Note that files _in_ lost+found _are_ deleted.
 	#
-	[ "$VERBOSE" != no ] && log_begin_msg "Cleaning /tmp..."
+	[ "$VERBOSE" != no ] && log_action_begin_msg "Cleaning /tmp"
 	#
 	#	If $TMPTIME is set to 0, we do not use any ctime expression
 	#	at all, so we can also delete files with timestamps
@@ -68,7 +68,7 @@
 	  fi
 	)
 
-	[ "$VERBOSE" != no ] && log_end_msg 0
+	[ "$VERBOSE" != no ] && log_action_end_msg 0
 }
 
 cleanlock() {
@@ -78,13 +78,13 @@
 
 	[ -f /var/lock/.clean ] && return
 
-	[ "$VERBOSE" != no ] && log_begin_msg "Cleaning /var/lock ..."
+	[ "$VERBOSE" != no ] && log_action_begin_msg "Cleaning /var/lock"
 	( cd /var/lock && find . ! -type d -exec rm -f -- {} \; )
 	rm -f /var/lock/.clean
 	set -o noclobber
 	:> /var/lock/.clean
 	set +o noclobber
-	[ "$VERBOSE" != no ] && log_end_msg 0
+	[ "$VERBOSE" != no ] && log_action_end_msg 0
 }
 
 cleanrun() {
@@ -94,7 +94,7 @@
 
 	[ -f /var/run/.clean ] && return
 
-	[ "$VERBOSE" != no ] && log_begin_msg "Cleaning /var/run ..."
+	[ "$VERBOSE" != no ] && log_action_begin_msg "Cleaning /var/run"
 	( cd /var/run && \
 		find . ! -type d ! -name utmp ! -name innd.pid \
 		-exec rm -f -- {} \; )
@@ -102,7 +102,7 @@
 	set -o noclobber
 	:> /var/run/.clean
 	set +o noclobber
-	[ "$VERBOSE" != no ] && log_end_msg 0
+	[ "$VERBOSE" != no ] && log_action_end_msg 0
 }
 
 bootclean() {




More information about the Pkg-sysvinit-commits mailing list