minor comments update

This commit is contained in:
levasseur
2021-12-07 17:28:48 +01:00
parent e6c6edc8a4
commit 97e5459163
3 changed files with 7 additions and 3 deletions

View File

@@ -14,7 +14,7 @@
disp_help() disp_help()
{ {
cat << EOF cat << EOF
Utilisation : init.sh [OPTIONS] [-m|--module <module1,...,moduleN>] Usage: init.sh [OPTIONS] [-m|--module <module1,...,moduleN>]
Initialise une machine pour l'intégrer à un réseau. Initialise une machine pour l'intégrer à un réseau.

View File

@@ -18,9 +18,9 @@ filegen clockstats file clockstats type day enable
# *** Please consider joining the pool! *** # *** Please consider joining the pool! ***
# *** <http://www.pool.ntp.org/join.html> *** # *** <http://www.pool.ntp.org/join.html> ***
# Liste des serveurs LEGOS # NTP Server list
@SERVERLIST@ @SERVERLIST@
# Fin de liste # End of list
# By default, exchange time with everybody, but don't allow configuration. # By default, exchange time with everybody, but don't allow configuration.
# See /usr/share/doc/ntp-doc/html/accopt.html for details. # See /usr/share/doc/ntp-doc/html/accopt.html for details.

View File

@@ -1,3 +1,7 @@
#!/bin/bash
# Automatic proxy configuration on startup for sandboxed machines
apt_proxy=/etc/apt/apt.conf.d/00proxy apt_proxy=/etc/apt/apt.conf.d/00proxy
proxy_line=$(cat $apt_proxy | awk '{print $2}') proxy_line=$(cat $apt_proxy | awk '{print $2}')
proxy_srv=$(echo $proxy_line | cut -d'/' -f 3 | cut -d':' -f 1) proxy_srv=$(echo $proxy_line | cut -d'/' -f 3 | cut -d':' -f 1)