diff options
author | Nick Hadaway <raker@gentoo.org> | 2003-01-12 23:10:07 +0000 |
---|---|---|
committer | Nick Hadaway <raker@gentoo.org> | 2003-01-12 23:10:07 +0000 |
commit | 5c7464bfbc720c66dfb8ac7ffc4876d1d44fae2f (patch) | |
tree | da48e676d9f4c366e8bb49fc2f45efd3db5f6247 /app-admin/powertweak | |
parent | Version bump. (diff) | |
download | gentoo-2-5c7464bfbc720c66dfb8ac7ffc4876d1d44fae2f.tar.gz gentoo-2-5c7464bfbc720c66dfb8ac7ffc4876d1d44fae2f.tar.bz2 gentoo-2-5c7464bfbc720c66dfb8ac7ffc4876d1d44fae2f.zip |
Fixed up the rc script
Diffstat (limited to 'app-admin/powertweak')
-rw-r--r-- | app-admin/powertweak/ChangeLog | 5 | ||||
-rw-r--r-- | app-admin/powertweak/files/powertweakd.rc6 | 11 |
2 files changed, 9 insertions, 7 deletions
diff --git a/app-admin/powertweak/ChangeLog b/app-admin/powertweak/ChangeLog index a17bf8d00d92..4c6c0f0a0319 100644 --- a/app-admin/powertweak/ChangeLog +++ b/app-admin/powertweak/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-admin/powertweak # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/powertweak/ChangeLog,v 1.7 2002/12/13 10:55:54 blizzy Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/powertweak/ChangeLog,v 1.8 2003/01/12 23:10:07 raker Exp $ + + 12 Jan 2003; Nick Hadaway <raker@gentoo.org> files/powertweakd.rc6 : + Fixed up problems in powertweakd.rc6 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords diff --git a/app-admin/powertweak/files/powertweakd.rc6 b/app-admin/powertweak/files/powertweakd.rc6 index b7c2622b8135..c2e629a1f5f9 100644 --- a/app-admin/powertweak/files/powertweakd.rc6 +++ b/app-admin/powertweak/files/powertweakd.rc6 @@ -1,18 +1,17 @@ #!/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/app-admin/powertweak/files/powertweakd.rc6,v 1.1 2002/08/05 15:33:59 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/powertweak/files/powertweakd.rc6,v 1.2 2003/01/12 23:10:07 raker Exp $ start() { - checkconfig || return 1 - ebegin "Starting proftpd" - start-stop-daemon --start --quiet --exec /usr/sbin/powertweakd -- -d -p /var/run/powertweakd.pid + ebegin "Starting powertweakd" + start-stop-daemon --start --quiet --exec /usr/sbin/powertweakd -- -d -p /var/run/powertweakd.pid eend $? } stop() { - ebegin "Stopping proftpd" - start-stop-daemon --stop --quiet --pidfile /var/run/powertweakd.pid + ebegin "Stopping powertweakd" + start-stop-daemon --stop --quiet --exec /usr/sbin/powertweakd eend $? } |