F8x86_64 on the Acer Ferrari 3400LMi
echo n "Starting SmartLink Modem driver: "
${PROG} country=$SLMODEMD_COUNTRY $SLMODEMD_OPTS 2>&1 \
logger t ${PROG} & PID=`pidof ${PROG}` RETVAL=$?
[ $RETVAL eq 0 ] \
&& success $"${PROG} startup" \ failure $"${PROG} startup"
echo
[ $RETVAL eq 0 ] \
&& touch /var/lock/subsys/${PROG} return $RETVAL
}
stop() {
echo n "Shutting down SmartLink Modem driver: " killproc ${PROG}
RETVAL=$?
[$RETVAL eq 0 ] && rm f /var/lock/subsys/${PROG} echo
return $RETVAL
}
#See how we were called. case "$1" in
start) start
;;
stop) stop
;;
status)
status ${PROG} RETVAL=$?
;;
restartreload) stop start RETVAL=$?
;;
condrestart)
if [ f /var/lock/subsys/${PROG} ]; then stop
start RETVAL=$?
fi
;;
install)
install t m 755 $0 /etc/init.d/${PROG} &> /dev/null chkconfig add ${PROG}
;;
*)
55