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 # rc.saslauthd:  start/stop/restart saslauthd
     5         kx #
     5         kx # saslauthd is a daemon process that handles plaintext authentication
     5         kx # requests on behalf of the SASL library.  The CMU Cyrus SASL library
     5         kx # is a general purpose authentication library for server and client
     5         kx # applications.  It is mostly used to authenticate to mail servers.
     5         kx #
     5         kx # saslauthd should be started from the system boot scripts when going
     5         kx # to multi-user mode. When running against a protected authentication
     5         kx # database (e.g. the shadow mechanism), it must be run as the superuser.
     5         kx #
     5         kx 
     5         kx saslauthd_start() {
     5         kx   # If saslauthd is not running, start it:
     5         kx   if [ ! -r /var/state/saslauthd/saslauthd.pid ]; then
     5         kx     # Use PAM authentication with credential caching:
     5         kx     echo "Starting SASL authentication daemon:  /usr/sbin/saslauthd -a pam -c"
     5         kx     /usr/sbin/saslauthd -a pam -c
     5         kx   fi
     5         kx }
     5         kx 
     5         kx saslauthd_stop() {
     5         kx   kill `cat /var/state/saslauthd/saslauthd.pid 2> /dev/null` 2> /dev/null
     5         kx   sleep 1
     5         kx }
     5         kx 
     5         kx saslauthd_restart() {
     5         kx   saslauthd_stop
     5         kx   saslauthd_start
     5         kx }
     5         kx 
     5         kx case "$1" in
     5         kx 'start')
     5         kx   saslauthd_start
     5         kx   ;;
     5         kx 'stop')
     5         kx   saslauthd_stop
     5         kx   ;;
     5         kx 'restart')
     5         kx   saslauthd_restart
     5         kx   ;;
     5         kx *)
     5         kx   echo "usage $0 start|stop|restart"
     5         kx esac