pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
ngircd: more rc file fixes
Module Name: pkgsrc-wip
Committed By: sxvghd <sxvghd%firemail.cc@localhost>
Pushed By: sxvghd
Date: Thu Jan 2 19:35:09 2020 +0100
Changeset: 0097ba79e38b23b4be17445c60c93c5399b19631
Modified Files:
ngircd/files/ngircd.sh
Log Message:
ngircd: more rc file fixes
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0097ba79e38b23b4be17445c60c93c5399b19631
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
ngircd/files/ngircd.sh | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diffs:
diff --git a/ngircd/files/ngircd.sh b/ngircd/files/ngircd.sh
index 822d20279e..f219abb2f6 100644
--- a/ngircd/files/ngircd.sh
+++ b/ngircd/files/ngircd.sh
@@ -15,5 +15,7 @@ command="@PREFIX@/sbin/ngircd"
required_files="@PKG_SYSCONFDIR@/ngircd.conf"
#pidfile="@PKG_HOME@/${name}.pid"
-load_rc_config $name
-run_rc_command "$1"
+if [ -f /etc/rc.subr ]; then
+ load_rc_config $name
+ run_rc_command "$1"
+fi
Home |
Main Index |
Thread Index |
Old Index