root-fix
This commit is contained in:
parent
c185843674
commit
c520d3006d
1 changed files with 5 additions and 0 deletions
|
@ -2,6 +2,11 @@
|
|||
|
||||
set -ex
|
||||
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
echo "This script must be run as root" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
read -p "Wie heisst die Schnittstelle? [enp30s0\eth0] : " modul
|
||||
read -p "Wie heisst die IP? : " ip
|
||||
|
||||
|
|
Loading…
Reference in a new issue