updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / sova / misc2
blob35fefb0c7f51730d6a927d39e4f468aa74dd90b7
1 #!/bin/bash
3 # SOVA miscellaneous2 settings.
5 # WARNING! Remember to put '$true' in any function you intend to leave empty
6 # (e.g. you don't need to use the 'custom_variables' function)
7 # to make sure the script doesn't break.
9 binaries_paths()
11 ### get full paths
12 # the 'exit 0' binary
13 true="`which true`"
15 modprobe="`which modprobe`"
18 custom_variables()
20 # define whatever you need here
22 mods_to_remove=(pcspkr uhci_hcd)
25 start_misc()
27 for ctr1 in ${mods_to_remove[*]}
29 $modprobe -r $ctr1
30 done
33 stop_misc()
35 $true
38 # EOF