#! /bin/sh
# Copyright (c) 1995-1998 SuSE GmbH Nuernberg, Germany.
#
# Author: F5SOH 
#
# /sbin/init.d/ax25
#

. /etc/rc.config

# Determine the base and follow a runlevel link name.
base=${0##*/}
link=${base#*[SK][0-9][0-9]}

# Force execution if not called by a runlevel directory.
test $link = $base && START_AX25=yes
test "$START_AX25" = yes || exit 0

# The echo return value for success (defined in /etc/rc.config).
return=$rc_done
case "$1" in
    start)
	echo -n "Demarrage de l'ax25"
	startproc /etc/rc.d/rc.ax25 || return=$rc_failed
	echo -e "$return"
        sleep 6
	;;
    *)
	echo "Usage: $0 {start}"
	exit 1
	;;
esac

# Inform the caller not only verbosely and set an exit status.
test "$return" = "$rc_done" || exit 1
exit 0
