summaryrefslogtreecommitdiff
path: root/etc/init.d/xioh
blob: 117a0b09caea87fe91e2046d4803d68e3a3a033b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh -e
#
### BEGIN INIT INFO
# Provides:          xioh
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Required-Start:    $remote_fs $syslog $network
# Required-Stop:     $remote_fs $syslog $network
# Short-Description: Used to load our drivers. Should be provided though a .deb
### END INIT INFO
#

case "$1" in
  start)
    modprobe -f echo
    modprobe -f dahdi_echocan_oslec
    modprobe -f xivovp
    modprobe -f xivoxhfc
    dahdi_cfg -vvv
    modprobe gcu
    modprobe e1000
	;;
  stop)
        ;;
  *)
    N=/etc/init.d/${0##*/}
    echo "Usage: $N {start|stop}" >&2
    exit 1
	;;
esac