#!/bin/sh #BLURB="Load Creative Labs soundfonts at boot" T_PX=$1 TMP=/var/log/setup/tmp if [ "$COLOR" = "on" -o -r $TMP/SeTcolor ]; then dialog --title "LOAD SOUNDFONTS AT BOOT?" --yesno \ "Load some soundfonts from /etc/sfont into your Creative Labs soundcard \ at boot. This allows you to use the midi sequencer of your card." 10 70 if [ $? = 0 ]; then mkdir -p /etc/rc.d/rc3.d /etc/rc.d/rc4.d ln -s /etc/rc.d/init.d/sfont /etc/rc.d/rc3.d/K57sfont ln -s /etc/rc.d/init.d/sfont /etc/rc.d/rc3.d/S43sfont ln -s /etc/rc.d/init.d/sfont /etc/rc.d/rc4.d/K57sfont ln -s /etc/rc.d/init.d/sfont /etc/rc.d/rc4.d/S43sfont else rm -f /etc/rc.d/rc3.d/K57sfont /etc/rc.d/rc3.d/S43sfont /etc/rc.d/rc4.d/K57sfont /etc/rc.d/rc4.d/S43sfont fi fi