The script must be run as root.