summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2002-04-01 19:51:09 +0000
committerDonny Davies <woodchip@gentoo.org>2002-04-01 19:51:09 +0000
commit2393dd1692017123c2e8886c3707bd4aaa0a9b75 (patch)
treea4a18ff3fd053a01b24d684ec22d91d50fdc0ff4 /net-misc/fakeidentd/files
parentApplied jnelson patches (closing bug #1444). (diff)
downloadgentoo-2-2393dd1692017123c2e8886c3707bd4aaa0a9b75.tar.gz
gentoo-2-2393dd1692017123c2e8886c3707bd4aaa0a9b75.tar.bz2
gentoo-2-2393dd1692017123c2e8886c3707bd4aaa0a9b75.zip
changed pidfile to fakeidentd.pid, added a conf.d/ snippet.
Diffstat (limited to 'net-misc/fakeidentd/files')
-rw-r--r--net-misc/fakeidentd/files/digest-fakeidentd-1.4-r62
-rw-r--r--net-misc/fakeidentd/files/digest-fakeidentd-1.4-r7 (renamed from net-misc/fakeidentd/files/digest-fakeidentd-1.4-r1)0
-rw-r--r--net-misc/fakeidentd/files/fakeidentd.confd6
-rw-r--r--net-misc/fakeidentd/files/fakeidentd.rc524
-rw-r--r--net-misc/fakeidentd/files/fakeidentd.rc617
5 files changed, 15 insertions, 34 deletions
diff --git a/net-misc/fakeidentd/files/digest-fakeidentd-1.4-r6 b/net-misc/fakeidentd/files/digest-fakeidentd-1.4-r6
deleted file mode 100644
index 0fe63546f90e..000000000000
--- a/net-misc/fakeidentd/files/digest-fakeidentd-1.4-r6
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 e0c517e5a5224eed0718487b4c63d7fb identd.c 13047
-MD5 97fbac66d852bf90b638809d277346c8 identd.readme 1575
diff --git a/net-misc/fakeidentd/files/digest-fakeidentd-1.4-r1 b/net-misc/fakeidentd/files/digest-fakeidentd-1.4-r7
index 0fe63546f90e..0fe63546f90e 100644
--- a/net-misc/fakeidentd/files/digest-fakeidentd-1.4-r1
+++ b/net-misc/fakeidentd/files/digest-fakeidentd-1.4-r7
diff --git a/net-misc/fakeidentd/files/fakeidentd.confd b/net-misc/fakeidentd/files/fakeidentd.confd
new file mode 100644
index 000000000000..6f957ebf1168
--- /dev/null
+++ b/net-misc/fakeidentd/files/fakeidentd.confd
@@ -0,0 +1,6 @@
+# Config file for /etc/init.d/fakeidentd
+
+# Change this to whatever you want the daemon to reply with.
+# By default it answers with "nobody" anyway..
+
+#FAKEIDENTD_OPTS="nobody"
diff --git a/net-misc/fakeidentd/files/fakeidentd.rc5 b/net-misc/fakeidentd/files/fakeidentd.rc5
deleted file mode 100644
index f24ed5659708..000000000000
--- a/net-misc/fakeidentd/files/fakeidentd.rc5
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-#RCUPDATE:2 3 4:75:This line is required for script management
-
-. /etc/rc.d/config/functions
-
-SERVICE="fakeident"
-opts="start stop"
-
-PIDFILE=/var/run/identd.pid
-EXE=/usr/sbin/fakeidentd
-
-start() {
- ebegin "Starting $SERVICE"
- start-stop-daemon --start --quiet --exec $EXE
- eend $?
-}
-
-stop() {
- ebegin "Stopping $SERVICE"
- start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $EXE
- eend $?
-}
-
-doservice ${@}
diff --git a/net-misc/fakeidentd/files/fakeidentd.rc6 b/net-misc/fakeidentd/files/fakeidentd.rc6
index 1d8cd2e739a6..a0f68d5ecbb9 100644
--- a/net-misc/fakeidentd/files/fakeidentd.rc6
+++ b/net-misc/fakeidentd/files/fakeidentd.rc6
@@ -1,20 +1,21 @@
#!/sbin/runscript
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-misc/fakeidentd/files/fakeidentd.rc6,v 1.2 2001/12/06 20:17:02 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/fakeidentd/files/fakeidentd.rc6,v 1.3 2002/04/01 19:51:09 woodchip Exp $
depend() {
- need net
+ need net
}
start() {
- ebegin "Starting fakeidentd"
- start-stop-daemon --start --quiet --exec /usr/sbin/fakeidentd
- eend $?
+ ebegin "Starting fakeidentd"
+ start-stop-daemon --start --quiet --startas /usr/sbin/fakeidentd \
+ --pidfile /var/run/fakeidentd.pid -- ${FAKEIDENTD_OPTS}
+ eend $?
}
stop() {
- ebegin "Stopping fakeidentd"
- start-stop-daemon --stop --quiet --pidfile /var/run/identd.pid
- eend $?
+ ebegin "Stopping fakeidentd"
+ start-stop-daemon --stop --quiet --pidfile /var/run/fakeidentd.pid
+ eend $?
}