CVS: initscripts/rc.d/init.d halt,1.1.1.1,1.2

Jasper Huysmans jasper at lunar-linux.org
Thu Nov 6 13:28:26 GMT 2003


Update of /var/cvs/lunar/initscripts/rc.d/init.d
In directory dbguin.lunar-linux.org:/tmp/cvs-serv25102/rc.d/init.d

Modified Files:
	halt 
Log Message:
Add 2.6 kernel checks + load acpi modules (copied from RH cvs initscripts)

Index: halt
===================================================================
RCS file: /var/cvs/lunar/initscripts/rc.d/init.d/halt,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- halt	26 Oct 2003 17:14:43 -0000	1.1.1.1
+++ halt	6 Nov 2003 13:28:24 -0000	1.2
@@ -23,7 +23,7 @@
 }
 
 halt_get_remaining() {
-	awk '$2 ~ /^\/$|^\/proc|^\/dev/{next}
+	awk '$2 ~ /^\/$|^\/proc|^\/sys|^\/dev/{next}
 	     $3 == "tmpfs" || $3 == "proc" {print $2 ; next}
 	     /(^#|loopfs|autofs|devfs|^none|^\/dev\/ram|^\/dev\/root)/ {next}
 	     {print $2}' /proc/mounts




More information about the Lunar-commits mailing list