#!/bin/sh # # Netatalk daemons. # If you use AppleTalk, Make sure not to start atalkd in the background: # its data structures must have time to stablize before running the # other processes. # # # SUNOS: UNCOMMENT THESE LINES TO LOAD THE KERNEL MODULE. Note that # modunload-ing netatalk may cause your machine to panic or hang. # ##echo -n 'loading netatalk: ' ##if [ -f :ETCDIR:/netatalk.o ]; then ## /usr/etc/modload -sym :ETCDIR:/netatalk.o; ##fi netatalk_conf=":ETCDIR:/netatalk.conf" [ -f ${netatalk_conf} ] && . ${netatalk_conf} echo -n 'starting netatalk daemons:' if [ X"${ATALKD_RUN}" != X"no" ]; then if [ -x :SBINDIR:/atalkd ]; then :SBINDIR:/atalkd; echo -n ' atalkd' fi if [ -x :BINDIR:/nbprgstr ]; then :BINDIR:/nbprgstr -p 4 `hostname|sed 's/\..*$//'`:Workstation :BINDIR:/nbprgstr -p 4 `hostname|sed 's/\..*$//'`:netatalk echo -n ' nbprgstr' fi fi if [ -x :SBINDIR:/papd -a X"${PAPD_RUN}" != X"no" ]; then :SBINDIR:/papd; echo -n ' papd' fi if [ -x :SBINDIR:/cnid_metad -a X"${CNID_METAD_RUN}" != X"no" ]; then :SBINDIR:/cnid_metad $CNID_CONFIG echo -n ' cnid_metad' fi if [ -x :SBINDIR:/afpd -a X"${AFPD_RUN}" != X"no" ]; then :SBINDIR:/afpd; echo -n ' afpd' fi if [ -x :SBINDIR:/timelord -a X"${TIMELORD_RUN}" != X"no" ]; then :SBINDIR:/timelord; echo -n ' timelord' fi echo '.'