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 the Kerberos administration server. This typically runs on the
     5         kx # master Kerberos server, which stores the KDC database.
     5         kx 
     5         kx # To change the default options, edit /etc/default/kadmind.
     5         kx if [ -r /etc/default/kadmind ]; then
     5         kx   . /etc/default/kadmind
     5         kx fi
     5         kx 
     5         kx start_atd() {
     5         kx   if ! /usr/bin/pgrep --ns $$ --euid root -f "^/usr/sbin/kadmind" 1> /dev/null 2> /dev/null ; then
     5         kx     echo "Starting kadmind:  /usr/sbin/kadmind $KADMIND_OPTIONS"
     5         kx     /usr/sbin/kadmind $KADMIND_OPTIONS
     5         kx   fi
     5         kx }
     5         kx 
     5         kx stop_atd() {
     5         kx   echo "Stopping kadmind."
     5         kx   /usr/bin/pkill --ns $$ --euid root -f "^/usr/sbin/kadmind" 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