#!/bin/sh # Copyright (C) 1997-2000 SpellCaster Telecommunications Inc. # $Id: dcplus.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 dcplus..." /sbin/insmod dcplus echo -n " rescanning channels..." @prefix@/sbin/bchan rescan echo "done." touch /var/lock/subsys/babylon ;; stop) echo -n "Unloading dcplus..." /sbin/rmmod dcplus echo "done." rm -f /var/lock/subsys/babylon ;; *) echo "Usage: dcplus.init {start|stop}" exit 1 ;; esac exit 0