aboutsummaryrefslogtreecommitdiff
path: root/network/openntpd/rc.ntpd
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2011-03-16 01:31:08 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-03-16 01:31:08 -0500
commit8eb430e3ef937813954f2ac31ce6e0f3f0496e02 (patch)
tree47ad608420ebe67516454d97d8b2aad05720bf5c /network/openntpd/rc.ntpd
parentc0e75a0c722d748d6966ee1700732b4982891e2e (diff)
network/openntpd: Removed (unmaintained)
The ntp package shipped with Slackware is far superior anyway. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/openntpd/rc.ntpd')
-rw-r--r--network/openntpd/rc.ntpd41
1 files changed, 0 insertions, 41 deletions
diff --git a/network/openntpd/rc.ntpd b/network/openntpd/rc.ntpd
deleted file mode 100644
index 5f53dc12ab50b..0000000000000
--- a/network/openntpd/rc.ntpd
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh
-
-# Start/stop/restart the network time protocol daemon
-
-# Written for Slackware Linux by Robby Workman <http://rlworkman.net>
-# ## (by modifying one of Pat's scripts)
-
-# Add -s to the command to set the time at startup
-
-ntpd_start() {
- if [ -x /usr/sbin/ntpd ]; then
- echo "Starting ntpd daemon: /usr/sbin/ntpd "
- /usr/sbin/ntpd 2> /dev/null
- sleep 1
- fi
-}
-
-ntpd_stop() {
- echo "Stopping ntpd daemon..."
- killall ntpd 2> /dev/null
-}
-
-ntpd_restart() {
- ntpd_stop
- sleep 1
- ntpd_start
-}
-
-case "$1" in
-'start')
- ntpd_start
- ;;
-'stop')
- ntpd_stop
- ;;
-'restart')
- ntpd_restart
- ;;
-*)
- echo "usage $0 start|stop|restart"
-esac