Mise à jour de 'ecoleA/proxy.sh'
Test du user ROOT
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
#!/bin/usr
|
||||
|
||||
# Test du user ROOT
|
||||
if [ "$EUID" -ne 0 ]
|
||||
then echo "Please run as root"
|
||||
exit
|
||||
fi
|
||||
|
||||
file_apt_proxy="/etc/apt/apt.conf.d/01proxy"
|
||||
file_http_proxy="/etc/profile.d/proxy.sh"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user