diff options
25 files changed, 121 insertions, 136 deletions
diff --git a/sys-apps/acpid/files/acpid.rc6 b/sys-apps/acpid/files/acpid.rc6 index 9b91826e5782..acf7cd70b863 100644 --- a/sys-apps/acpid/files/acpid.rc6 +++ b/sys-apps/acpid/files/acpid.rc6 @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/acpid/files/acpid.rc6,v 1.3 2003/02/14 23:11:40 vapier Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/acpid/files/acpid.rc6,v 1.4 2004/03/06 04:06:01 vapier Exp $ depend() { need localmount @@ -9,7 +9,6 @@ depend() { checkconfig() { if [ ! -e /proc/acpi ] ; then - eerror "ACPI support has not been compiled into the kernel" return 1 fi diff --git a/sys-apps/anacron/files/anacron.rc6 b/sys-apps/anacron/files/anacron.rc6 index 9af75533e72a..676b607bcbd0 100644 --- a/sys-apps/anacron/files/anacron.rc6 +++ b/sys-apps/anacron/files/anacron.rc6 @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/anacron/files/anacron.rc6,v 1.2 2003/02/14 23:11:46 vapier Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/anacron/files/anacron.rc6,v 1.3 2004/03/06 04:06:01 vapier Exp $ depend() { need clock hostname logger diff --git a/sys-apps/apmd/files/apmd.rc6 b/sys-apps/apmd/files/apmd.rc6 index c4ebbef5f6c8..63f79e590c50 100644 --- a/sys-apps/apmd/files/apmd.rc6 +++ b/sys-apps/apmd/files/apmd.rc6 @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/files/apmd.rc6,v 1.5 2003/02/14 23:11:58 vapier Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/files/apmd.rc6,v 1.6 2004/03/06 04:06:01 vapier Exp $ depend() { need localmount diff --git a/sys-apps/at/files/atd.rc6 b/sys-apps/at/files/atd.rc6 index 7aec98366743..2b0b7bdaded7 100644 --- a/sys-apps/at/files/atd.rc6 +++ b/sys-apps/at/files/atd.rc6 @@ -1,22 +1,21 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/at/files/atd.rc6,v 1.10 2003/02/14 23:12:04 vapier Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/at/files/atd.rc6,v 1.11 2004/03/06 04:06:01 vapier Exp $ depend() { - need clock logger + need clock logger } start() { - ebegin "Starting atd" - start-stop-daemon --start --quiet --pidfile /var/run/atd.pid \ - --startas /usr/sbin/atd - eend $? + ebegin "Starting atd" + start-stop-daemon --start --quiet --pidfile /var/run/atd.pid \ + --startas /usr/sbin/atd + eend $? } stop() { - ebegin "Shutting down atd" - start-stop-daemon --stop --quiet --pidfile /var/run/atd.pid - eend $? + ebegin "Shutting down atd" + start-stop-daemon --stop --quiet --pidfile /var/run/atd.pid + eend $? } - diff --git a/sys-apps/clrngd/files/clrngd-conf.d b/sys-apps/clrngd/files/clrngd-conf.d index 80dee33b6ecc..dda014790aac 100644 --- a/sys-apps/clrngd/files/clrngd-conf.d +++ b/sys-apps/clrngd/files/clrngd-conf.d @@ -1,7 +1,6 @@ -#!/bin/sh -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/clrngd/files/clrngd-conf.d,v 1.1 2004/01/04 23:20:13 robbat2 Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/clrngd/files/clrngd-conf.d,v 1.2 2004/03/06 04:06:01 vapier Exp $ # This is the interval between runs of the clrngd main loop. It should NOT be # less than 60 seconds (the daemon will exit with an error) as the main loop diff --git a/sys-apps/clrngd/files/clrngd-init.d b/sys-apps/clrngd/files/clrngd-init.d index 6715a22b8c71..b67d8bef4296 100644 --- a/sys-apps/clrngd/files/clrngd-init.d +++ b/sys-apps/clrngd/files/clrngd-init.d @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/clrngd/files/clrngd-init.d,v 1.1 2004/01/04 23:20:13 robbat2 Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/clrngd/files/clrngd-init.d,v 1.2 2004/03/06 04:06:01 vapier Exp $ DAEMON=clrngd OPTS=${DELAYTIME} @@ -17,5 +17,3 @@ stop() { start-stop-daemon --stop --quiet --exec /usr/sbin/${DAEMON} eend $? } - -# vim: ts=4 sw=4 ft=sh: diff --git a/sys-apps/daemontools/files/svscan b/sys-apps/daemontools/files/svscan index 517c8c53553a..5c22c838467f 100644 --- a/sys-apps/daemontools/files/svscan +++ b/sys-apps/daemontools/files/svscan @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/daemontools/files/svscan,v 1.9 2003/10/06 19:42:06 vapier Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/daemontools/files/svscan,v 1.10 2004/03/06 04:06:01 vapier Exp $ depend() { need net diff --git a/sys-apps/daemontools/files/svscan-0.76-r4 b/sys-apps/daemontools/files/svscan-0.76-r4 index d8080b9ffa90..857d2efe75d6 100644 --- a/sys-apps/daemontools/files/svscan-0.76-r4 +++ b/sys-apps/daemontools/files/svscan-0.76-r4 @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/daemontools/files/svscan-0.76-r4,v 1.1 2004/01/30 08:06:51 robbat2 Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/daemontools/files/svscan-0.76-r4,v 1.2 2004/03/06 04:06:01 vapier Exp $ depend() { need net diff --git a/sys-apps/dcron/files/dcron.rc6 b/sys-apps/dcron/files/dcron.rc6 index 29d59dd37e61..3e0c4458d26c 100644 --- a/sys-apps/dcron/files/dcron.rc6 +++ b/sys-apps/dcron/files/dcron.rc6 @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/dcron/files/dcron.rc6,v 1.7 2003/02/14 23:12:23 vapier Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/dcron/files/dcron.rc6,v 1.8 2004/03/06 04:09:07 vapier Exp $ depend() { need clock hostname logger diff --git a/sys-apps/evkeyd/files/evkeyd.rc b/sys-apps/evkeyd/files/evkeyd.rc index 738ad4c1264c..2a4d59aa276e 100644 --- a/sys-apps/evkeyd/files/evkeyd.rc +++ b/sys-apps/evkeyd/files/evkeyd.rc @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/evkeyd/files/evkeyd.rc,v 1.1 2003/06/19 07:24:15 vladimir Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/evkeyd/files/evkeyd.rc,v 1.2 2004/03/06 04:09:07 vapier Exp $ depend() { need localmount diff --git a/sys-apps/fcron/files/fcron.rc6 b/sys-apps/fcron/files/fcron.rc6 index 7992acdfca8b..65becd73b469 100644 --- a/sys-apps/fcron/files/fcron.rc6 +++ b/sys-apps/fcron/files/fcron.rc6 @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/files/fcron.rc6,v 1.2 2003/02/14 23:25:37 vapier Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/fcron/files/fcron.rc6,v 1.3 2004/03/06 04:09:07 vapier Exp $ depend() { need clock hostname logger diff --git a/sys-apps/hdparm/files/hdparm-conf.d b/sys-apps/hdparm/files/hdparm-conf.d index cf208a58aec0..5b09abc40b7a 100644 --- a/sys-apps/hdparm/files/hdparm-conf.d +++ b/sys-apps/hdparm/files/hdparm-conf.d @@ -1,6 +1,6 @@ -# Copyright 2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/files/hdparm-conf.d,v 1.1 2003/03/01 21:17:39 sethbc Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/files/hdparm-conf.d,v 1.2 2004/03/06 04:09:07 vapier Exp $ # You can either set hdparm arguments for each drive using disc*_args and cdrom*_args.. # eg. @@ -12,4 +12,3 @@ # eg. # this mimics the behavior of the current script all_args="-d1" - diff --git a/sys-apps/hdparm/files/hdparm-init b/sys-apps/hdparm/files/hdparm-init index e249682c74df..f8761751de4f 100644 --- a/sys-apps/hdparm/files/hdparm-init +++ b/sys-apps/hdparm/files/hdparm-init @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/files/hdparm-init,v 1.2 2003/02/14 23:25:49 vapier Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hdparm/files/hdparm-init,v 1.3 2004/03/06 04:09:07 vapier Exp $ depend() { need localmount @@ -10,6 +10,5 @@ depend() { start() { ebegin "Enabling DMA on IDE drives" /sbin/hdparm -d1 /dev/ide/hd/*u? &> /dev/null - eend + eend $? } - diff --git a/sys-apps/hotplug/files/hotplug.rc b/sys-apps/hotplug/files/hotplug.rc index deac66d95ec2..f7b0275047f0 100644 --- a/sys-apps/hotplug/files/hotplug.rc +++ b/sys-apps/hotplug/files/hotplug.rc @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hotplug/files/hotplug.rc,v 1.6 2003/05/03 18:34:38 azarah Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hotplug/files/hotplug.rc,v 1.7 2004/03/06 04:09:07 vapier Exp $ depend() { need modules @@ -37,4 +37,3 @@ stop() { done eend 0 } - diff --git a/sys-apps/isapnptools/files/isapnp.rc6 b/sys-apps/isapnptools/files/isapnp.rc6 index 5e5f8bdcecce..21d59a2bde17 100644 --- a/sys-apps/isapnptools/files/isapnp.rc6 +++ b/sys-apps/isapnptools/files/isapnp.rc6 @@ -1,25 +1,25 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/isapnptools/files/isapnp.rc6,v 1.7 2003/02/14 23:26:09 vapier Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/isapnptools/files/isapnp.rc6,v 1.8 2004/03/06 04:09:07 vapier Exp $ depend() { need localmount } start() { -if [ -e /etc/isapnp.conf ]; then - if [ -e /usr/sbin/isapnp ] ; then - ebegin "Configuring ISA PnP devices" - /usr/sbin/isapnp /etc/isapnp.conf 1>&2 - eend $? + if [ -e /etc/isapnp.conf ]; then + if [ -e /usr/sbin/isapnp ] ; then + ebegin "Configuring ISA PnP devices" + /usr/sbin/isapnp /etc/isapnp.conf 1>&2 + eend $? + else + eerror "You're missing /usr/sbin/isapnp. Do emerge sys-apps/isapnptools" + return 1 + fi else - eerror "You're missing /usr/sbin/isapnp. Do emerge sys-apps/isapnptools" + eerror "You need an /etc/isapnp.conf file first" + eerror "Theres a sample in docs/isapnptools/txt" return 1 fi -else - eerror "You need an /etc/isapnp.conf file first" - eerror "Theres a sample in docs/isapnptools/txt" - return 1 -fi } diff --git a/sys-apps/mondo/files/mondo.sh b/sys-apps/mondo/files/mondo.sh index 3a2e2088a49b..d15142ad72af 100644 --- a/sys-apps/mondo/files/mondo.sh +++ b/sys-apps/mondo/files/mondo.sh @@ -1,8 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Author: Michael v.Ostheim <MvOstheim@web.de> -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/mondo/files/mondo.sh,v 1.2 2003/02/14 23:26:16 vapier Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/mondo/files/mondo.sh,v 1.3 2004/03/06 04:09:07 vapier Exp $ depend() { need modules diff --git a/sys-apps/netkit-base/files/inetd.rc6 b/sys-apps/netkit-base/files/inetd.rc6 index 64117dfdab97..606bff39c0cf 100644 --- a/sys-apps/netkit-base/files/inetd.rc6 +++ b/sys-apps/netkit-base/files/inetd.rc6 @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/netkit-base/files/inetd.rc6,v 1.3 2003/10/06 19:40:47 vapier Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/netkit-base/files/inetd.rc6,v 1.4 2004/03/06 04:09:07 vapier Exp $ depend() { need net diff --git a/sys-apps/noflushd/files/noflushd.rc6 b/sys-apps/noflushd/files/noflushd.rc6 index eb5c31eaee7b..b505f86c9044 100644 --- a/sys-apps/noflushd/files/noflushd.rc6 +++ b/sys-apps/noflushd/files/noflushd.rc6 @@ -1,11 +1,10 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/noflushd/files/noflushd.rc6,v 1.4 2003/02/14 23:26:26 vapier Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/noflushd/files/noflushd.rc6,v 1.5 2004/03/06 04:09:07 vapier Exp $ # NB: Config is in /etc/conf.d/noflushd - depend() { need localmount } diff --git a/sys-apps/pbbuttonsd/files/pbbuttonsd.rc5 b/sys-apps/pbbuttonsd/files/pbbuttonsd.rc5 index c0a099887a6a..6cae00bdecfa 100644 --- a/sys-apps/pbbuttonsd/files/pbbuttonsd.rc5 +++ b/sys-apps/pbbuttonsd/files/pbbuttonsd.rc5 @@ -1,20 +1,17 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pbbuttonsd/files/pbbuttonsd.rc5,v 1.5 2003/12/12 23:04:47 lu_zero Exp $ - +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pbbuttonsd/files/pbbuttonsd.rc5,v 1.6 2004/03/06 04:09:07 vapier Exp $ start() { - ebegin "Starting pbbuttonsd" - start-stop-daemon --start --quiet --exec /usr/bin/pbbuttonsd -- -d \ + ebegin "Starting pbbuttonsd" + start-stop-daemon --start --quiet --exec /usr/bin/pbbuttonsd -- -d \ /var/run/pbbuttonsd.pid - eend $? + eend $? } stop() { - ebegin "Stopping pbbuttonsd" - start-stop-daemon --stop --quiet --exec /usr/bin/pbbuttonsd - eend $? + ebegin "Stopping pbbuttonsd" + start-stop-daemon --stop --quiet --exec /usr/bin/pbbuttonsd + eend $? } - - diff --git a/sys-apps/pcsc-lite/files/pcscd-init b/sys-apps/pcsc-lite/files/pcscd-init index 3a63bc80b2af..f09e9fa9a45d 100644 --- a/sys-apps/pcsc-lite/files/pcscd-init +++ b/sys-apps/pcsc-lite/files/pcscd-init @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/files/pcscd-init,v 1.1 2003/08/03 04:37:47 iggy Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/files/pcscd-init,v 1.2 2004/03/06 04:09:07 vapier Exp $ start() { ebegin "Starting pcscd" diff --git a/sys-apps/pmud/files/pmud.start b/sys-apps/pmud/files/pmud.start index 945701bd6b0a..9bdb39e7be66 100644 --- a/sys-apps/pmud/files/pmud.start +++ b/sys-apps/pmud/files/pmud.start @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmud/files/pmud.start,v 1.5 2003/02/14 23:26:47 vapier Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmud/files/pmud.start,v 1.6 2004/03/06 04:09:07 vapier Exp $ depend() { need bootmisc diff --git a/sys-apps/qpage/files/qpage b/sys-apps/qpage/files/qpage index 281383ee44d2..d1158c32f1b1 100644 --- a/sys-apps/qpage/files/qpage +++ b/sys-apps/qpage/files/qpage @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/qpage/files/qpage,v 1.1 2003/08/08 18:05:35 agriffis Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/qpage/files/qpage,v 1.2 2004/03/06 04:09:07 vapier Exp $ depend() { need net diff --git a/sys-apps/rng-tools/files/rngd b/sys-apps/rng-tools/files/rngd index 80f24047eaf3..58d15d9db98c 100644 --- a/sys-apps/rng-tools/files/rngd +++ b/sys-apps/rng-tools/files/rngd @@ -1,33 +1,32 @@ #!/sbin/runscript -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/rng-tools/files/rngd,v 1.2 2003/10/05 17:09:28 hanno Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/rng-tools/files/rngd,v 1.3 2004/03/06 04:09:07 vapier Exp $ depend() { need localmount - after random + after random } start() { - ebegin "Starting hardware RNG daemon" - if [ -e /dev/hw_random ]; then - start-stop-daemon --start --quiet --exec /usr/sbin/rngd -- -b -r /dev/hw_random - eend $? "Failed to start hardware RNG daemon" - elif [ -e /dev/hwrandom ]; then - start-stop-daemon --start --quiet --exec /usr/sbin/rngd -- -b -r /dev/hwrandom - eend $? "Failed to start hardware RNG daemon" - elif [ -e /dev/i810_rng ]; then - start-stop-daemon --start --quiet --exec /usr/sbin/rngd -- -b -r /dev/i810_rng - eend $? "Failed to start hardware RNG daemon" - else - eerror "No hardware RNG found!" - return 1 - fi + ebegin "Starting hardware RNG daemon" + if [ -e /dev/hw_random ]; then + start-stop-daemon --start --quiet --exec /usr/sbin/rngd -- -b -r /dev/hw_random + eend $? "Failed to start hardware RNG daemon" + elif [ -e /dev/hwrandom ]; then + start-stop-daemon --start --quiet --exec /usr/sbin/rngd -- -b -r /dev/hwrandom + eend $? "Failed to start hardware RNG daemon" + elif [ -e /dev/i810_rng ]; then + start-stop-daemon --start --quiet --exec /usr/sbin/rngd -- -b -r /dev/i810_rng + eend $? "Failed to start hardware RNG daemon" + else + eerror "No hardware RNG found!" + return 1 + fi } - + stop() { - ebegin "Stopping hardware RNG daemon" - start-stop-daemon --stop --quiet --exec /usr/sbin/rngd - eend $? "Failed to stop hardware RNG daemon" + ebegin "Stopping hardware RNG daemon" + start-stop-daemon --stop --quiet --exec /usr/sbin/rngd + eend $? "Failed to stop hardware RNG daemon" } - diff --git a/sys-apps/tpctl/files/apmiser.rc b/sys-apps/tpctl/files/apmiser.rc index 9d066e5224b6..258ace62adda 100644 --- a/sys-apps/tpctl/files/apmiser.rc +++ b/sys-apps/tpctl/files/apmiser.rc @@ -1,13 +1,12 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/tpctl/files/apmiser.rc,v 1.2 2003/02/14 23:27:00 vapier Exp $ - +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/tpctl/files/apmiser.rc,v 1.3 2004/03/06 04:09:34 vapier Exp $ start() { ebegin "Starting Thinkpad Battery Maximiser" start-stop-daemon --start --background --quiet --make-pidfile \ - --pidfile /var/run/apmiser.pid --exec /usr/sbin/apmiser + --pidfile /var/run/apmiser.pid --exec /usr/sbin/apmiser eend $? } diff --git a/sys-apps/vixie-cron/files/vixie-cron.rc6 b/sys-apps/vixie-cron/files/vixie-cron.rc6 index 22ae101e5f73..5b65fee0d498 100644 --- a/sys-apps/vixie-cron/files/vixie-cron.rc6 +++ b/sys-apps/vixie-cron/files/vixie-cron.rc6 @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/vixie-cron/files/vixie-cron.rc6,v 1.2 2003/12/21 23:04:12 seemant Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/vixie-cron/files/vixie-cron.rc6,v 1.3 2004/03/06 04:09:34 vapier Exp $ depend() { need clock localmount logger |