From 88062a4bd91b7f070f7393752bbe98947177643b Mon Sep 17 00:00:00 2001
From: Matteo Bernardini <ponce@slackbuilds.org>
Date: Sat, 27 Feb 2021 10:18:43 +0100
Subject: network/krb5: Removed (added to Slackware).

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
---
 network/krb5/rc.krb5kdc | 54 -------------------------------------------------
 1 file changed, 54 deletions(-)
 delete mode 100644 network/krb5/rc.krb5kdc

(limited to 'network/krb5/rc.krb5kdc')

diff --git a/network/krb5/rc.krb5kdc b/network/krb5/rc.krb5kdc
deleted file mode 100644
index 6829e12ab5258..0000000000000
--- a/network/krb5/rc.krb5kdc
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/sh
-#
-# Kerberos V5 KDC init script
-#
-# Copyright (C) 2017 Jason Graham <jgraha8@gmail.com>
-#
-
-# Start krb5kdc:
-krb5kdc_start() {
-    CMDLINE="/usr/sbin/krb5kdc"
-    echo -n "Starting krb5kdc:  $CMDLINE"
-    $CMDLINE
-    echo
-}
-
-# Stop krb5kdc:
-krb5kdc_stop() {
-    echo "Stopping krb5kdc..."
-    killall -e -q krb5kdc
-}
-
-# Restart krb5kdc:
-krb5kdc_restart() {
-    krb5kdc_stop
-    sleep 1
-    krb5kdc_start
-}
-
-# Check if krb5kdc is running
-krb5kdc_status() {
-    if [ ! -z "$(ps -e -o command | grep -E -w [/]usr/sbin/krb5kdc)" ]; then
-	echo "krb5kdc is running."
-    else
-	echo "krb5kdc is stopped."
-	exit 1
-    fi
-}
-
-case "$1" in
-    'start')
-	krb5kdc_start
-	;;
-    'stop')
-	krb5kdc_stop
-	;;
-    'restart')
-	krb5kdc_restart
-	;;
-    'status')
-	krb5kdc_status
-	;;
-    *)
-	echo "usage $0 start|stop|restart|status"
-esac
-- 
cgit v1.2.3