This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ ${USER} != "root" ] | |
then | |
echo "${0}: rerun as root" 1>&2 | |
exit 1 | |
fi | |
function cleanup() { | |
# delete the existing interfaces |