#!/bin/sh # Copyright (C) 1997-2000 SpellCaster Telecommunications Inc. # $Id: scb.init.in,v 1.1 2004/03/11 03:59:31 bcrl Exp $ # Released under the GNU Public License. See LICENSE file for details. case $1 in start) echo -n "Loading scb..." /sbin/insmod scb echo -n " rescanning channels..." @prefix@/sbin/bchan rescan echo "done." touch /var/lock/subsys/scb ;; stop) echo -n "Unloading scb..." /sbin/rmmod scb echo "done." rm -f /var/lock/subsys/scb ;; *) echo "Usage: scb.init {start|stop}" exit 1 ;; esac exit 0