cvs commit: src/etc/rc.d powerd

Pawel Worach pawel.worach at telia.com
Sun Feb 27 06:09:37 GMT 2005


Nate Lawson wrote:
> njl         2005-02-26 21:18:54 UTC
> 
>   FreeBSD src repository
> 
>   Added files:
>     etc/rc.d             powerd 
>   Log:
>   Add an rc script for powerd(8).
>   

The "command_args" is redundant, it results in the program started as
/usr/sbin/powerd -i 90 -r 50 -i 90 -r 50
if powerd_flags is set to "-i 90 -r 50".

Nice work btw!

--- etc/rc.d/powerd.orig	Sat Feb 26 22:18:54 2005
+++ etc/rc.d/powerd	Sun Feb 27 07:07:26 2005
@@ -15,6 +15,4 @@
  command="/usr/sbin/powerd"

  load_rc_config $name
-command_args="${powerd_flags}"
-
  run_rc_command "$1"

-- 
Pawel


More information about the cvs-src mailing list