Mise à jour de 'ecoleA/proxy.sh'
Test du user ROOT
This commit is contained in:
@@ -1,4 +1,11 @@
|
|||||||
#!/bin/usr
|
#!/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_apt_proxy="/etc/apt/apt.conf.d/01proxy"
|
||||||
file_http_proxy="/etc/profile.d/proxy.sh"
|
file_http_proxy="/etc/profile.d/proxy.sh"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user