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 V5 slave KDC update server. This runs on a slave
     5         kx # (secondary) KDC server. It allows the master Kerberos server to use
     5         kx # kprop(8) to propagate its database to the slave servers.
     5         kx 
     5         kx # To change the default options, edit /etc/default/kpropd.
     5         kx if [ -r /etc/default/kpropd ]; then
     5         kx   . /etc/default/kpropd
     5         kx fi
     5         kx 
     5         kx start_atd() {
     5         kx   if ! /usr/bin/pgrep --ns $$ --euid root -f "^/usr/sbin/kpropd" 1> /dev/null 2> /dev/null ; then
     5         kx     echo "Starting kpropd:  /usr/sbin/kpropd $KPROPD_OPTIONS"
     5         kx     /usr/sbin/kpropd $KPROPD_OPTIONS
     5         kx   fi
     5         kx }
     5         kx 
     5         kx stop_atd() {
     5         kx   echo "Stopping kpropd."
     5         kx   /usr/bin/pkill --ns $$ --euid root -f "^/usr/sbin/kpropd" 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