1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#!/bin/sh exit case $1 in start) echo "Loading vizzini module" modprobe vizzini ;; stop) echo "Unloading vizzini module" modprobe -r vizzini ;; *) echo "Usage: $0 {start|stop}" exit 2 ;; esac