source: packages/net/krb5/files/krb5kdc @ 18842

Last change on this file since 18842 was 18842, checked in by jow, 7 years ago

[packages] add krb5, the MIT Kerberos 5 implementation (#6101)

File size: 259 bytes
Line 
1#!/bin/sh /etc/rc.common
2# Copyright (C) 2009 OpenWrt.org
3
4START=60
5
6start() {
7        mkdir -p /var/tmp
8        mkdir -p /var/krb5kdc
9       
10        [ -f /var/krb5kdc/principal ] || ( echo; echo ) | kdb5_util create -s
11       
12        /usr/sbin/krb5kdc
13}
14
15stop() {
16        killall krb5kdc 2> /dev/null
17}
Note: See TracBrowser for help on using the repository browser.