#!/bin/sh case "$1" in install) . /etc/init.d/rc.functions update_setting "VDR_STDOUT" "/dev/tty5" echo "OSDSkin = curses" >> /etc/vdr/setup.conf.add ;; uninstall) . /etc/init.d/rc.functions update_setting "VDR_STDOUT" "/dev/stderr" sed "s/OSDSkin = curses//" -i /etc/vdr/setup.conf ;; depend) echo "vdr" ;; *) echo "Usage $0 {install | uninstall | delend}" >&2 exit 1 esac