1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-17 12:53:54 +02:00
openwrt-packages/net/krb5/files/krb5kdc
W. Michael Petullo c3866b4441 Copy krb5 package from old repository
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2014-07-19 14:08:11 +02:00

20 lines
308 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2009 OpenWrt.org
START=60
start() {
mkdir -p /var/tmp
mkdir -p /etc/krb5kdc
[ -f /etc/krb5kdc/principal ] || ( echo; echo ) | kdb5_util create -s
/usr/sbin/krb5kdc
/usr/sbin/kadmind
}
stop() {
killall krb5kdc 2> /dev/null
killall kadmind 2> /dev/null
}