#!/bin/bash ## BEGIN INIT INFO # Provides: kiosk # Default-Start: 3 5 # Default-Stop: 0 1 2 4 6 # Required-Start: # Should-Start: # Short-Description: Starts the kiosk configuration program # Description: kiosk runs to restore a kiosk system ## END INIT INFO # # kiosk: kiosk restore script # # chkconfig: 35 99 95 # # description: kiosk runs to restore a kiosk system # # Source function library. . /etc/init.d/functions [ -z "$HOME" ] && export HOME=/ case "$1" in start) args="" /usr/bin/plymouth --hide-splash # Put kiosk restore scripts here /usr/local/bin/kiosk-restore.py RETVAL=$? /usr/bin/plymouth --show-splash exit $RETVAL ;; stop) exit 0 ;; *) echo $"Usage: $0 {start|stop}" exit 3 ;; esac