How to restart udev or eudev

Sometimes some device like monitor or plug-in wifi does not work, so then one way to get them working is to reload (e)udev. Via Terminal a command

sudo udevadm control --reload-rules ; udevadm trigger

Or via script as root, which requires Xterm to be installed.

#!/bin/bash
xterm -e su -c "udevadm control --reload-rules ; udevadm trigger"

eudev-restart.zip