Added some code to peer into a data structure in Maemian/Schedule.pm. Also added the
[maemian] / nokia-lintian / testset / scripts / init-lsb-broken
1 #! /bin/sh
2 ### BEGIN INIT INFO
3 # Provides:          bad-lsb
4 #  Required-Start:    $local_fs $remote_fs
5 # Required-Stop:     
6 # Default-Start:     1 2 3 4 5
7 # Default-Stop:      S 0 1 6 X
8 # Short-Description: Example initscript
9 #                    but this can't be continued
10 # Description:       An example of a bad LSB section in an init script.
11 #                    This continuation is allowed (with spaces).
12 #                       This one is too (with tabs).
13 # X-Debian-Foo:      Some unknown but valid keyword.
14 # Foo:               Some invalid keyword.
15
16 # Whoops, no terminating line.
17
18 # And then we have this duplicate section.
19 ### BEGIN INIT INFO
20 # Required-Start:    This one doesn't count.
21 ### END INIT INFO
22
23 # Hey, look at all of those missing actions!  But stop isn't missing.
24 case "$1" in
25   start|stop)
26         echo "Blah"
27         ;;
28   *)
29         echo "Usage: foo start" >&2
30         exit 3
31         ;;
32 esac
33
34 :