mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update xlxd.sh
This commit is contained in:
parent
910a41bb08
commit
6ac3ffb720
|
|
@ -9,13 +9,6 @@ if [ $EUID -ne 0 ]; then
|
||||||
whiptail --title "sudo su" --msgbox "requiere ser usuario root , escriba (sudo su) antes de entrar a menu / requires root user, type (sudo su) before entering menu" 0 50
|
whiptail --title "sudo su" --msgbox "requiere ser usuario root , escriba (sudo su) antes de entrar a menu / requires root user, type (sudo su) before entering menu" 0 50
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
WHO=$(whoami)
|
|
||||||
if [ "$WHO" != "root" ]
|
|
||||||
then
|
|
||||||
echo ""
|
|
||||||
echo "You Must be root to run this script!!"
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
if [ ! -e "/etc/debian_version" ]
|
if [ ! -e "/etc/debian_version" ]
|
||||||
then
|
then
|
||||||
echo ""
|
echo ""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue