I need to run the same command every time I boot.I'm running Linux Mint 17.2 Cinnamon.I have added a startup application with the command under preferences startup applications.However the command does not run although it runs and works perfectly when I run it myself.DetailsThe command is:echo 'adminpassword' | sudo -S modprobe -v ndiswrapperFor some reason I need to run that every time I boot or ndiswrapper will forget I installed a windows wifi driver.
How do I run a command on startup?
debian;command line;ndiswrappers
You do not need to run a program. You just need to configure your system to load the ndiswrapper module at startup.For that you edit the file /etc/modules with the command:sudo vi /etc/modulesAnd append to the end of it the line:ndiswrapperThe file /etc/modules configures which loadable modules are automatically loaded. For more details please read:https://help.ubuntu.com/community/Loadable_Modules