Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- unloadNewModule()
- {
- # unload newly loaded module
- modprobe -r "$NEWLOADED"
- grep -v "$NEWLOADED" /etc/ethernetmodules > /etc/ethernetmodules.tmp
- #sync
- mv -f /etc/ethernetmodules.tmp /etc/ethernetmodules
- TOPMSG="$L_TOPMSG_Module_Unloaded_p1 '$NEWLOADED' $L_TOPMSG_Module_Unloaded_p2 '$NEWLOADED' $L_TOPMSG_Module_Unloaded_p3"
- setDefaultMODULEBUTTONS
- refreshMainWindowInfo
- } # end unloadNewModule
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement