* looking for daniele@orlandi.com--2005/isdn--devel--0.1--patch-589 to compare with
* comparing to daniele@orlandi.com--2005/isdn--devel--0.1--patch-589: ..... done.

* modified files

--- orig/configure.ac
+++ mod/configure.ac
@@ -404,6 +404,7 @@
 		etc/Makefile
 		scripts/Makefile
 		scripts/visdn_configurator
+		scripts/visdn_unload
 		samples/Makefile
 		libq931/Makefile
 		chan_visdn/Makefile



* added files

--- /dev/null
+++ mod/samples/.arch-ids/visdn.init.id
@@ -0,0 +1 @@
+James Harper <james.harper@bendigoit.com.au> Mon Mar 13 15:34:17 2006 31570.0
--- /dev/null
+++ mod/samples/visdn.init
@@ -0,0 +1,23 @@
+#! /bin/sh
+VISDN_PATH=/usr/local/sbin
+LOAD_SCRIPT=$VISDN_PATH/visdn_configurator
+UNLOAD_SCRIPT=$VISDN_PATH/visdn_unload
+
+case "$1" in
+  start)
+	$LOAD_SCRIPT
+	;;
+  stop)
+	$UNLOAD_SCRIPT
+	;;
+  restart|force-reload)
+	$LOAD_SCRIPT
+	$UNLOAD_SCRIPT
+	;;
+  *)
+	echo "Usage: $0 {start|stop|restart|force-reload}" >&2
+	exit 3
+	;;
+esac
+
+:
--- /dev/null
+++ mod/scripts/.arch-ids/visdn_unload.in.id
@@ -0,0 +1 @@
+James Harper <james.harper@bendigoit.com.au> Mon Mar 13 15:34:25 2006 31572.0
--- /dev/null
+++ mod/scripts/visdn_unload.in
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+cat /proc/modules | cut -f1 -d\  | grep visdn | while read modname
+do
+ echo "Unloading $modname"
+ rmmod $modname
+done
+

