#!/bin/bash # # SMGL init script for the auth server of codafs # PROGRAM=/bin/false RUNLEVEL=3 NEEDS="+remote_fs +network" . /etc/init.d/smgl_init start() { if [ "`cat /vice/hostname`" != "`cat /vice/db/scm`" ]; then FLAGS="$FLAGS -chk " fi required_executable /usr/sbin/auth2 echo "Starting Coda authentification server" loadproc /usr/sbin/auth2 $FLAGS } stop() { echo "Stopping Coda authentification server" killproc /usr/sbin/auth2 } .