Commit e1efef8c authored by Diman Maharjan's avatar Diman Maharjan
Browse files

new files

parent 8491e56f
#!/bin/bash
if [ $EUID -ne 0 ]; then
echo "This script must be run as root" 1>&2
exit 1
fi
cp /etc/network/interfaces /etc/network/interfaces.net
cp /etc/network/interfaces.orig /etc/network/interfaces
reboot
#!/bin/bash
if [ $EUID -ne 0 ]; then
echo "This script must be run as root" 1>&2
exit 1
fi
cp /etc/network/interfaces /etc/network/interfaces.orig
cp ./interfaces.net /etc/network/interfaces
reboot
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment