diff options
author | Roy Marples <uberlord@gentoo.org> | 2006-11-14 08:05:50 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2006-11-14 08:05:50 +0000 |
commit | 762cf468dc3d6e6cb7471d9a57f36f1139e0b235 (patch) | |
tree | f2e2a54398035f860972811ab920f90286f8490e /app-laptop/laptop-mode-tools | |
parent | Remove libpq dependency (#153656). (diff) | |
download | gentoo-2-762cf468dc3d6e6cb7471d9a57f36f1139e0b235.tar.gz gentoo-2-762cf468dc3d6e6cb7471d9a57f36f1139e0b235.tar.bz2 gentoo-2-762cf468dc3d6e6cb7471d9a57f36f1139e0b235.zip |
Add a depend fuction to the init script so it starts up properly when going
from multi user -> single user -> multi user.
(Portage version: 2.1.2_rc1-r5)
Diffstat (limited to 'app-laptop/laptop-mode-tools')
-rw-r--r-- | app-laptop/laptop-mode-tools/ChangeLog | 6 | ||||
-rw-r--r-- | app-laptop/laptop-mode-tools/files/laptop_mode.init | 7 |
2 files changed, 11 insertions, 2 deletions
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 <uberlord@gentoo.org> 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 <uberlord@gentoo.org> +files/laptop_mode.init, metadata.xml, laptop-mode-tools-1.31.ebuild: 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" |