[packages] krb5: move persistent database to /etc (#6475)
[openwrt.org/packages.git] / net / krb5 / files / krb5kdc
blob:a/net/krb5/files/krb5kdc -> blob:b/net/krb5/files/krb5kdc
--- a/net/krb5/files/krb5kdc
+++ b/net/krb5/files/krb5kdc
@@ -5,9 +5,9 @@
 
 start() {
 	mkdir -p /var/tmp
-	mkdir -p /var/krb5kdc
+	mkdir -p /etc/krb5kdc
 	
-	[ -f /var/krb5kdc/principal ] || ( echo; echo ) | kdb5_util create -s
+	[ -f /etc/krb5kdc/principal ] || ( echo; echo ) | kdb5_util create -s
 	
 	/usr/sbin/krb5kdc
 }

comments