python - Linux: Is there a 'reboot' or something similiar after calling rmmod or insmod? -



python - Linux: Is there a 'reboot' or something similiar after calling rmmod or insmod? -

do have reboot or commit changes did calling rmmod or modprobe?

from os import scheme def disable_i2c(): system('sudo rmmod i2c_dev') system('sudo rmmod i2c_bcm2708')

python linux module kernel

Comments

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -