From: Roy Marples Date: Tue, 14 Nov 2006 08:05:50 +0000 (+0000) Subject: Add a depend fuction to the init script so it starts up properly when going X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a99a3c6dcf60a9d280b3c18669beee6ee78ccbe9;p=gentoo.git Add a depend fuction to the init script so it starts up properly when going from multi user -> single user -> multi user. Package-Manager: portage-2.1.2_rc1-r5 --- diff --git a/app-laptop/laptop-mode-tools/ChangeLog b/app-laptop/laptop-mode-tools/ChangeLog index bb44656b7e48..9a3e89567645 100644 --- a/app-laptop/laptop-mode-tools/ChangeLog +++ b/app-laptop/laptop-mode-tools/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-laptop/laptop-mode-tools # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.32 2006/07/19 11:16:26 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.33 2006/11/14 08:05:50 uberlord Exp $ + + 14 Nov 2006; Roy Marples files/laptop_mode.init: + Add a depend fuction to the init script so it starts up properly when going + from multi user -> single user -> multi user. 19 Jul 2006; Roy Marples +files/laptop_mode.init, metadata.xml, laptop-mode-tools-1.31.ebuild: diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest index d075e6971560..e5323cb54e5b 100644 --- a/app-laptop/laptop-mode-tools/Manifest +++ b/app-laptop/laptop-mode-tools/Manifest @@ -1,16 +1,16 @@ -AUX laptop_mode.init 924 RMD160 7587e9725ca20164e0f5942eb16fbdf743d51ca8 SHA1 0f0170b16715ebe1519b3bb8ef0d027b8c1b3f7c SHA256 f645221a1790ae719405859e7be91076947a82ea938cf5d1a1e94c70ab70a694 -MD5 3203ed4af7ea39da501e1bf1dee1265b files/laptop_mode.init 924 -RMD160 7587e9725ca20164e0f5942eb16fbdf743d51ca8 files/laptop_mode.init 924 -SHA256 f645221a1790ae719405859e7be91076947a82ea938cf5d1a1e94c70ab70a694 files/laptop_mode.init 924 +AUX laptop_mode.init 970 RMD160 36e4f0ac62ca43f25689fe7c1eec6e0f8594dcd9 SHA1 d26a227b7eb9be3c78af91c78c5cc743ff846897 SHA256 aa8ee3b3f89c95c154243bae2c5b99a0db3915f0d50807637c271acddbbdcfad +MD5 72f610f37f0d62b38254f87ee24f3546 files/laptop_mode.init 970 +RMD160 36e4f0ac62ca43f25689fe7c1eec6e0f8594dcd9 files/laptop_mode.init 970 +SHA256 aa8ee3b3f89c95c154243bae2c5b99a0db3915f0d50807637c271acddbbdcfad files/laptop_mode.init 970 DIST laptop-mode-tools_1.31.tar.gz 86554 RMD160 042b15337a365c6efd1d60ea74c4412fed7949df SHA1 4a2630818a3e30095d2339ab09aa2fb5a4213adf SHA256 cc2475a237c6d1b95667d464ebece1fbf5a518262fc9a74363ef820ba168d29e EBUILD laptop-mode-tools-1.31.ebuild 2325 RMD160 a1d9356686dc6125f83553ac57ee82e4e5f9e54a SHA1 e52c0853897859505bba0c2deafe76039915b934 SHA256 1370a0ba6b368948bbb6560b0f7e66ae37af34f303a6bdfc59e1565a59d96a7f MD5 08d6d21fa27263ae42262962f763bf09 laptop-mode-tools-1.31.ebuild 2325 RMD160 a1d9356686dc6125f83553ac57ee82e4e5f9e54a laptop-mode-tools-1.31.ebuild 2325 SHA256 1370a0ba6b368948bbb6560b0f7e66ae37af34f303a6bdfc59e1565a59d96a7f laptop-mode-tools-1.31.ebuild 2325 -MISC ChangeLog 5875 RMD160 fadec24861ebe8b24d68e630df17a4bcb44092ba SHA1 2edb0530ea1fba39e111cf26c573ba43a7b42b9d SHA256 e59cdc4a216f022832dee84195890b1bbf84ff948f92382917ef01b13193f14e -MD5 4dc58f95872b8c2ebe5183370fd34608 ChangeLog 5875 -RMD160 fadec24861ebe8b24d68e630df17a4bcb44092ba ChangeLog 5875 -SHA256 e59cdc4a216f022832dee84195890b1bbf84ff948f92382917ef01b13193f14e ChangeLog 5875 +MISC ChangeLog 6075 RMD160 f8d22e938b2f14b0a28cc45caa3ae27a5d96b4ea SHA1 dff29998d63f71b1729a16b3a87632bfec6c9ccb SHA256 16336766fcd7d35379a93ec3ee4aa7612209e67ea7ab0da63f17f4260d68f589 +MD5 2459ca74e21a4e6c0b3c766444e6c1cc ChangeLog 6075 +RMD160 f8d22e938b2f14b0a28cc45caa3ae27a5d96b4ea ChangeLog 6075 +SHA256 16336766fcd7d35379a93ec3ee4aa7612209e67ea7ab0da63f17f4260d68f589 ChangeLog 6075 MISC metadata.xml 250 RMD160 876c64d1767e4bdd32723fa285a7dabf15f1e82e SHA1 60f90e59de723ec974b5e2d8c3a952c3ea378f6f SHA256 fd3c97233444ca2664cd393f484f4cba1ace7b76c686112b098ab45a4cebbe0e MD5 672d42771a5a69fdbc5ba1648d133812 metadata.xml 250 RMD160 876c64d1767e4bdd32723fa285a7dabf15f1e82e metadata.xml 250 diff --git a/app-laptop/laptop-mode-tools/files/laptop_mode.init b/app-laptop/laptop-mode-tools/files/laptop_mode.init index d02cdcc2e3af..566f020df604 100644 --- a/app-laptop/laptop-mode-tools/files/laptop_mode.init +++ b/app-laptop/laptop-mode-tools/files/laptop_mode.init @@ -1,10 +1,15 @@ #!/sbin/runscript # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/files/laptop_mode.init,v 1.1 2006/07/19 11:16:26 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/files/laptop_mode.init,v 1.2 2006/11/14 08:05:50 uberlord Exp $ opts="${opts} reload" +depend() { + use localmount + after bootmisc +} + checkconfig() { if [[ ! -f /proc/sys/vm/laptop_mode ]] ; then eerror "Kernel does not support laptop_mode"