aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/erlang/files/epmd.sh.in7
-rw-r--r--lang/erlang14/files/epmd.sh.in7
2 files changed, 6 insertions, 8 deletions
diff --git a/lang/erlang/files/epmd.sh.in b/lang/erlang/files/epmd.sh.in
index ea57aa23cdc0..6658c7c8f226 100644
--- a/lang/erlang/files/epmd.sh.in
+++ b/lang/erlang/files/epmd.sh.in
@@ -17,10 +17,9 @@ epmd_enable=${epmd_enable:-"NO"}
name=epmd
rcvar=`set_rcvar`
-prefix=%%PREFIX%%
-procname=${prefix}/bin/epmd
-start_cmd="${prefix}/bin/epmd -daemon"
-stop_cmd="${prefix}/bin/epmd -kill >/dev/null"
+procname=%%PREFIX%%/bin/epmd
+start_cmd="%%PREFIX%%/bin/epmd -daemon"
+stop_cmd="%%PREFIX%%/bin/epmd -kill >/dev/null"
load_rc_config ${name}
run_rc_command "$1"
diff --git a/lang/erlang14/files/epmd.sh.in b/lang/erlang14/files/epmd.sh.in
index ea57aa23cdc0..6658c7c8f226 100644
--- a/lang/erlang14/files/epmd.sh.in
+++ b/lang/erlang14/files/epmd.sh.in
@@ -17,10 +17,9 @@ epmd_enable=${epmd_enable:-"NO"}
name=epmd
rcvar=`set_rcvar`
-prefix=%%PREFIX%%
-procname=${prefix}/bin/epmd
-start_cmd="${prefix}/bin/epmd -daemon"
-stop_cmd="${prefix}/bin/epmd -kill >/dev/null"
+procname=%%PREFIX%%/bin/epmd
+start_cmd="%%PREFIX%%/bin/epmd -daemon"
+stop_cmd="%%PREFIX%%/bin/epmd -kill >/dev/null"
load_rc_config ${name}
run_rc_command "$1"