#!/bin/sh case "$1" in install) . /etc/init.d/rc.functions register_setting "GRAPHLCD_TYPE" "120x64" "Path to graphlcd start images" if [ -f /sbin/showbootstep ] ; then mv -f /sbin/showbootstep /sbin/showbootstep.graphlcd.bak fi mv -f /sbin/showbootstep.graphlcd /sbin/showbootstep ;; uninstall) mv -f /sbin/showbootstep.graphlcd.bak /sbin/showbootstep ;; depend) echo "lib-imagemagick" ;; *) echo "Usage $0 {install | uninstall | depend}" >&2 exit 1 esac