blob: a0adb55eedc3376eda971475e3558e518ef1f06c (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
#!/bin/sh
### BEGIN INIT INFO
# Provides: plymouth-log
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Should-Start:
# Should-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Inform plymouth that /var/log is writable
### END INIT INFO
PATH="/sbin:/bin:/usr/sbin:/usr/bin"
NAME="plymouth-log"
DESC="Boot splash manager (write log file)"
test -x /bin/plymouth || exit 0
if [ -r "/etc/default/${NAME}" ]
then
. "/etc/default/${NAME}"
fi
. /lib/lsb/init-functions
set -e
case "${1}" in
start)
if plymouth --ping
then
/bin/plymouth update-root-fs --read-write
fi
;;
stop|restart|force-reload)
;;
*)
echo "Usage: ${0} {start|stop|restart|force-reload}" >&2
exit 1
;;
esac
exit 0
|