On Saturday 24 February 2007 17:24, [EMAIL PROTECTED] wrote:
> how do i exec a kldload script when starting ttyv8 kdm (or xorg) ?

Another idea not yet mentioned is to create two wrapper scripts like so:

$ cat /usr/local/bin/loadsound
#!/bin/sh
kldload whatever.ko
$ cat /usr/local/bin/unloadsound
#!/bin/sh
kldunload whatever.ko

and the install sudo and configure it to give your user the ability to run 
those two commands without entering your password.  Finally, add "sudo 
loadsound" and "sudo unloadsound" to your startup and exit scripts.
-- 
Kirk Strauser

Attachment: pgpWUVdbZQYd0.pgp
Description: PGP signature

Reply via email to