summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Houser <chouser@gentoo.org>2001-09-14 15:26:10 +0000
committerChris Houser <chouser@gentoo.org>2001-09-14 15:26:10 +0000
commit8f37bf29ee7f4c8589c73e5fc9f4d8f0ffb9aaa4 (patch)
tree923b8556506d269ba6ab84cd7059a9f3a56d324f /net-misc/fakeidentd/files
parentkde 2.2 uml drawing tool (diff)
downloadgentoo-2-8f37bf29ee7f4c8589c73e5fc9f4d8f0ffb9aaa4.tar.gz
gentoo-2-8f37bf29ee7f4c8589c73e5fc9f4d8f0ffb9aaa4.tar.bz2
gentoo-2-8f37bf29ee7f4c8589c73e5fc9f4d8f0ffb9aaa4.zip
Added rc5 and rc6 init scripts.
The rc5 script is not tested.
Diffstat (limited to 'net-misc/fakeidentd/files')
-rw-r--r--net-misc/fakeidentd/files/digest-fakeidentd-1.4-r12
-rw-r--r--net-misc/fakeidentd/files/digest-fakeidentd-1.4-r62
-rw-r--r--net-misc/fakeidentd/files/fakeidentd.rc524
-rw-r--r--net-misc/fakeidentd/files/fakeidentd.rc617
4 files changed, 45 insertions, 0 deletions
diff --git a/net-misc/fakeidentd/files/digest-fakeidentd-1.4-r1 b/net-misc/fakeidentd/files/digest-fakeidentd-1.4-r1
new file mode 100644
index 000000000000..37480586466a
--- /dev/null
+++ b/net-misc/fakeidentd/files/digest-fakeidentd-1.4-r1
@@ -0,0 +1,2 @@
+MD5 e0c517e5a5224eed0718487b4c63d7fb identd.c
+MD5 97fbac66d852bf90b638809d277346c8 identd.readme
diff --git a/net-misc/fakeidentd/files/digest-fakeidentd-1.4-r6 b/net-misc/fakeidentd/files/digest-fakeidentd-1.4-r6
new file mode 100644
index 000000000000..37480586466a
--- /dev/null
+++ b/net-misc/fakeidentd/files/digest-fakeidentd-1.4-r6
@@ -0,0 +1,2 @@
+MD5 e0c517e5a5224eed0718487b4c63d7fb identd.c
+MD5 97fbac66d852bf90b638809d277346c8 identd.readme
diff --git a/net-misc/fakeidentd/files/fakeidentd.rc5 b/net-misc/fakeidentd/files/fakeidentd.rc5
new file mode 100644
index 000000000000..f24ed5659708
--- /dev/null
+++ b/net-misc/fakeidentd/files/fakeidentd.rc5
@@ -0,0 +1,24 @@
+#!/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
new file mode 100644
index 000000000000..f13bb31f3a3b
--- /dev/null
+++ b/net-misc/fakeidentd/files/fakeidentd.rc6
@@ -0,0 +1,17 @@
+#!/sbin/runscript
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting fakeidentd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/fakeidentd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping fakeidentd"
+ start-stop-daemon --stop --quiet --pidfile /var/run/identd.pid
+ eend $?
+}