summaryrefslogtreecommitdiff
path: root/community/ndisc6
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-10 01:12:52 -0800
committerroot <root@rshg054.dnsready.net>2013-02-10 01:12:52 -0800
commit1bb2648cde916ac27d3dd75d7b64a4ddc89787b7 (patch)
tree016bfa1969323404c37dbef29cfc7242a5a8e9f3 /community/ndisc6
parente9c244cac8e5dc1c59c7e8b7bc885fef04224b70 (diff)
Sun Feb 10 01:12:35 PST 2013
Diffstat (limited to 'community/ndisc6')
-rw-r--r--community/ndisc6/rdnssd.confd8
-rw-r--r--community/ndisc6/rdnssd.rc.d51
2 files changed, 0 insertions, 59 deletions
diff --git a/community/ndisc6/rdnssd.confd b/community/ndisc6/rdnssd.confd
deleted file mode 100644
index 306c3d7f6..000000000
--- a/community/ndisc6/rdnssd.confd
+++ /dev/null
@@ -1,8 +0,0 @@
-
-# This default merge hook adds IPv6 DNS resolvers
-# before the existing IPv4 ones in /etc/resolv.conf.
-MERGEHOOK="/etc/rdnssd/merge-hook"
-
-# User who runs rdnssd.
-RUN_AS="nobody"
-
diff --git a/community/ndisc6/rdnssd.rc.d b/community/ndisc6/rdnssd.rc.d
deleted file mode 100644
index 3c0a6a53c..000000000
--- a/community/ndisc6/rdnssd.rc.d
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/rdnssd
-
-PIDFILE="/var/run/rdnssd.pid"
-PID=`cat "$PIDFILE" 2>/dev/null`
-case "$1" in
- start)
- stat_busy "Starting RDNSS Daemon"
- if [ ! -z "$PID" -a -e "/proc/$PID" ]; then
- stat_append "-- Already running"
- stat_die
- else
- /usr/sbin/rdnssd -p "$PIDFILE" \
- ${MERGEHOOK/*/-H} "$MERGEHOOK" \
- ${RUN_AS/*/-u} "$RUN_AS"
-
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon rdnssd
- stat_done
- fi
- fi
- ;;
- stop)
- stat_busy "Stopping RDNSS Daemon"
- if [ -z "$PID" ]; then
- stat_append "-- Not running"
- stat_die
- else
- kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon sshd
- stat_done
- fi
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0