RETVAL=0
case "$1" in
- start)
+ start)
if [ ! -f /var/lock/subsys/atalk ]; then
_insmod single -f /lib/modules/`uname -r`/misc/appletalk.o
if [ "$ATALK_BGROUND" = yes ]; then
fi
touch /var/lock/subsys/atalk
;;
- stop)
+ stop)
if [ -f /var/lock/subsys/atalk ]; then
if [ "$ATALK_BGROUND" = yes ]; then
msg_stopping afpd
# description: This package enables Linux to talk to Macintosh \
# computers via the AppleTalk networking protocol and \
# provides printer, file sharing, and AppleTalk routing \
-# services.
+# services.
#
# AppleTalk daemons. Make sure not to start atalkd in the background:
# its data structures must have time to stablize before running the
exit 0
fi
- if is_yes "${ATALKD_RUN}"; then
+ if is_yes "${ATALKD_RUN}"; then
msg_starting "atalkd"
daemon atalkd
RETVAL_ATALKD=$?
exit $?
;;
status)
- if is_yes "${ATALKD_RUN}"; then
+ if is_yes "${ATALKD_RUN}"; then
if is_yes "${PAPD_RUN}"; then
status papd
fi
-
+
if is_yes "${TIMELORD_RUN}"; then
status timelord
fi
-
+
if is_yes "${AFPD_RUN}"; then
status afpd
fi