← Back to team overview

sslug-teknik team mailing list archive

driverload

 

God våd søndag eftermiddag
Hvordan hulen får jeg fedora core2 til at loade bttv driveren inden kudzu 
søger efter nyt hardware ??
har følgende script i init.d:
!/bin/bash
#
# Startup script for bttv
#
# chkconfig: 2345 06 05
# description: bttv.
# processname:
# pidfile:
# config:

prog=bttv
RETVAL=0

start() {
  echo -n $"Fixing $prog startup: "
  bash /usr/lib/bttv/patchtvcard
  RETVAL=$?
  echo
  [ $RETVAL = 0 ] && touch /var/lock/subsys/$prog
  return $RETVAL
}

stop() {
  rm -f /var/lock/subsys/$prog
}

# See how we were called.
case "$1" in
  start)
        start
        ;;
  stop)
        stop
        ;;
  *)
        echo $"Usage: $prog {start|stop}"
        exit 1
esac
exit $RETVAL

og linket til rc1.d rc2.d rc3.d rc4.d rc5.d er
@K05bttv

mvh/gert
-- 
Absurdity, n.:
	A statement or belief manifestly inconsistent with one's own opinion.
		-- Ambrose Bierce, "The Devil's Dictionary"


Follow ups