#!/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 setvar PATH = ""/sbin:/bin:/usr/sbin:/usr/bin"" setvar NAME = ""plymouth-log"" setvar DESC = ""Boot splash manager (write log file)"" test -x /bin/plymouth || exit 0 if test -r "/etc/default/${NAME}" { source "/etc/default/${NAME}" } source /lib/lsb/init-functions set -e match ${1} { with start if plymouth --ping { /bin/plymouth update-root-fs --read-write } with stop|restart|force-reload with * echo "Usage: ${0} {start|stop|restart|force-reload}" >&2 exit 1 } exit 0