1#!/bin/sh -e 2### BEGIN INIT INFO 3# Provides: bootanim 4# Required-Start: mountvirtfs 5# Required-Stop: 6# Should-Start: 7# Should-Stop: 8# Default-Start: 2 3 4 5 9# Default-Stop: 0 1 6 10# Short-Description: Boot time animation 11### END INIT INFO 12 13PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin" 14 15# Load default env variables from profiles 16. /etc/profile 17 18type bootanim >/dev/null && \ 19case "$1" in 20 start|restart|reload) 21 echo -n "starting bootanim... " 22 bootanim start 23 echo "done." 24 ;; 25 stop) 26 echo -n "stoping bootanim... " 27 bootanim stop 28 echo "done." 29 ;; 30 *) 31 echo "Usage: $0 {start|stop|restart}" 32 exit 1 33esac 34 35exit 0 36