Skip to content

Instantly share code, notes, and snippets.

View archit-p's full-sized avatar

Archit Pandey archit-p

View GitHub Profile
#!/bin/bash
if [ ${USER} != "root" ]
then
echo "${0}: rerun as root" 1>&2
exit 1
fi
function cleanup() {
# delete the existing interfaces