File: init

package info (click to toggle)
discover 2.1.2-10.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,756 kB
  • sloc: sh: 7,862; ansic: 7,280; xml: 1,809; makefile: 679
file content (28 lines) | stat: -rw-r--r-- 533 bytes parent folder | download | duplicates (9)
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
#!/bin/sh -e

### BEGIN INIT INFO
# Provides:          discover
# Required-Start:    mountvirtfs checkroot $local_fs
# Required-Stop: 
# Default-Start:     S 1 2 3 4 5
# Default-Stop:      0 6
### END INIT INFO

# $Progeny$

test -x /sbin/discover-modprobe || exit 0

case "$1" in
start|restart)
    if [ "$VERBOSE" = "no" ] ; then
       discover-modprobe
    else
       discover-modprobe -v
    fi
    ;;
stop|reload|force-reload)
    exit 0
    ;;
*)  echo "usage: /etc/init.d/discover [start|stop|force-reload]"
    exit 1
esac