diff options
author | Doug Barton <dougb@FreeBSD.org> | 2009-07-15 16:56:10 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2009-07-15 16:56:10 +0000 |
commit | 0175383f0a1f8b78ed514778532f0467a8ccc6dc (patch) | |
tree | 4c98b621f22bb861a40c6493c6ed7517f295f7f3 /sysutils/gkrellm2 | |
parent | e6246d1055202098dd1df8f2a827665d39dddde8 (diff) | |
download | ports-0175383f0a1f8b78ed514778532f0467a8ccc6dc.tar.gz ports-0175383f0a1f8b78ed514778532f0467a8ccc6dc.zip |
Notes
Diffstat (limited to 'sysutils/gkrellm2')
-rw-r--r-- | sysutils/gkrellm2/files/gkrellmd.sh.in | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/sysutils/gkrellm2/files/gkrellmd.sh.in b/sysutils/gkrellm2/files/gkrellmd.sh.in index 0bb39d28a454..c222220886e8 100644 --- a/sysutils/gkrellm2/files/gkrellmd.sh.in +++ b/sysutils/gkrellm2/files/gkrellmd.sh.in @@ -7,12 +7,6 @@ # REQUIRE: DAEMON # BEFORE: LOGIN # KEYWORD: shutdown -# -# NOTE for FreeBSD 5.0+: -# If you want this script to start with the base rc scripts -# move gkrellmd.sh to /etc/rc.d/gkrellmd - -prefix=%%PREFIX%% # Define these gkrellmd_* variables in one of these files: # /etc/rc.conf @@ -22,15 +16,15 @@ prefix=%%PREFIX%% # DO NOT CHANGE THESE DEFAULT VALUES HERE # gkrellmd_enable=${gkrellmd_enable:-"NO"} # Enable gkrellmd -#gkrellmd_program="${prefix}/sbin/gkrellmd" # Location of gkrellmd +#gkrellmd_program="%%PREFIX%%/sbin/gkrellmd" # Location of gkrellmd gkrellmd_flags=${gkrellmd_flags:-"-d"} # Flags to gkrellmd . %%RC_SUBR%% name="gkrellmd" rcvar=`set_rcvar` -command="${prefix}/sbin/${name}" -required_files="${prefix}/etc/${name}.conf" +command="%%PREFIX%%/sbin/${name}" +required_files="%%PREFIX%%/etc/${name}.conf" load_rc_config $name run_rc_command "$1" |