summaryrefslogtreecommitdiffstats
path: root/display/splashy/init.d/splashy4
blob: 1ae6dc1efae4bced4db3c89c2212d9b8fc74c066 (plain) (blame)
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
31
32
33
34
35
36
37
#!/bin/sh

PROGRAM=/bin/false
RUNLEVEL=4
NEEDS="+local_fs"

. /etc/init.d/smgl_init
. /etc/sysconfig/init

MAX_LEVEL=$DEFAULT_RUNLEVEL

case "$MAX_LEVEL" in
  4)
        SPLASHY_PROGRESS=100
        ;;
  5)
        SPLASHY_PROGRESS=80
        ;;
  *)
        echo "Unknown default runlevel"
        exit 1
esac

start()
{
  /usr/sbin/splashy_update "progress $SPLASHY_PROGRESS"
}

stop()
{
  true
}

restart()
{
  true
}