Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
     5         kx #!/bin/sh
     5         kx # Start krb5kdc, which is the Kerberos version 5 Authentication Service
     5         kx # and Key Distribution Center (AS/KDC). This needs to run first on both
     5         kx # master and secondary KDCs.
     5         kx 
     5         kx # To change the default options, edit /etc/default/krb5kdc.
     5         kx if [ -r /etc/default/krb5kdc ]; then
     5         kx   . /etc/default/krb5kdc
     5         kx fi
     5         kx 
     5         kx start_atd() {
     5         kx   if ! /usr/bin/pgrep --ns $$ --euid root -f "^/usr/sbin/krb5kdc" 1> /dev/null 2> /dev/null ; then
     5         kx     echo "Starting krb5kdc:  /usr/sbin/krb5kdc $KRB5KDC_OPTIONS"
     5         kx     /usr/sbin/krb5kdc $KRB5KDC_OPTIONS
     5         kx   fi
     5         kx }
     5         kx 
     5         kx stop_atd() {
     5         kx   echo "Stopping krb5kdc."
     5         kx   /usr/bin/pkill --ns $$ --euid root -f "^/usr/sbin/krb5kdc" 2> /dev/null
     5         kx }
     5         kx 
     5         kx restart_atd() {
     5         kx   stop_atd
     5         kx   sleep 1
     5         kx   start_atd
     5         kx }
     5         kx 
     5         kx case "$1" in
     5         kx 'start')
     5         kx   start_atd
     5         kx   ;;
     5         kx 'stop')
     5         kx   stop_atd
     5         kx   ;;
     5         kx 'restart')
     5         kx   restart_atd
     5         kx   ;;
     5         kx *)
     5         kx   echo "usage $0 start|stop|restart"
     5         kx esac