On 6/14/07, Martin Wilke <[EMAIL PROTECTED]> wrote:
miwi        2007-06-14 06:07:23 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/ataidle     Makefile
  Added files:
    sysutils/ataidle/files ataidle.in
  Log:
  - Add rc.d script

  PR:             113115
  Submitted by:   Bruce Cran <[EMAIL PROTECTED]> (maintainer)

  Revision  Changes    Path
  1.10      +1 -0      ports/sysutils/ataidle/Makefile
  1.1       +37 -0     ports/sysutils/ataidle/files/ataidle.in (new)
_______________________________________________
+name="ataidle"
+rcvar=${name}_enable
+command="%%LOCALBASE%%/sbin/${name}"

I assume you know how LOCALBASE differs from PREFIX
and which of the two should have been used here.

+load_rc_config $name
+
+start_cmd="start_cmd"
+start_cmd()
+{
+if [ -n "${ataidle_device}" ]; then
+for i in ${ataidle_device}; do
+eval ataidle_args=\$ataidle_${i}
+${command} ${ataidle_args}
+done
+fi
+
+}

What's with the indentation? Also there's no
newline at end of file, which would be fixed
if you opened it in almost any editor and saved
without changes.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to