Find the answer to your Linux question:
Results 1 to 3 of 3
Using Ubuntu Jaunty. i have to add the following script to my startup programs to enable TVtime configuration. 'sudo modprobe -vr saa7134_alsa sudo modprobe -v saa7134 card=21' how can i ...
  1. #1
    Just Joined!
    Join Date
    Nov 2009
    Posts
    3

    Angry [SOLVED] add a startup script



    Using Ubuntu Jaunty.
    i have to add the following script to my startup programs to enable TVtime configuration.

    'sudo modprobe -vr saa7134_alsa
    sudo modprobe -v saa7134 card=21'

    how can i override the password check while running this script?

    please someone help me....


  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    You shouldn't need to run a separate script to do this.

    To load a module at boot, append it to the file /etc/modules
    Code:
    echo "saa7134" | sudo tee -a /etc/modules
    To load options for a modules, add them to /etc/modprobe.d/modprobe.conf
    Code:
    echo "options saa7134 card=21" | sudo tee -a /etc/modprobe.d/modprobe.conf
    I assume you were only removing saa7134_alsa on the way to reloading with options, right?

  3. #3
    Just Joined!
    Join Date
    Nov 2009
    Posts
    3

    Thanks.. Thanks... Thanks



    You Are right Reed9.

    That worked......!!

    thanks for your support.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...