From 97e5459163312bba74503f46a02692406a9915cc Mon Sep 17 00:00:00 2001 From: levasseur Date: Tue, 7 Dec 2021 17:28:48 +0100 Subject: [PATCH] minor comments update --- lib/support.sh | 2 +- repo/common/ntp.conf | 4 ++-- repo/common/proxy.rc.local | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/support.sh b/lib/support.sh index 56125b2..ecc401e 100644 --- a/lib/support.sh +++ b/lib/support.sh @@ -14,7 +14,7 @@ disp_help() { cat << EOF -Utilisation : init.sh [OPTIONS] [-m|--module ] +Usage: init.sh [OPTIONS] [-m|--module ] Initialise une machine pour l'intégrer à un réseau. diff --git a/repo/common/ntp.conf b/repo/common/ntp.conf index b393e9f..2146cbc 100644 --- a/repo/common/ntp.conf +++ b/repo/common/ntp.conf @@ -18,9 +18,9 @@ filegen clockstats file clockstats type day enable # *** Please consider joining the pool! *** # *** *** -# Liste des serveurs LEGOS +# NTP Server list @SERVERLIST@ -# Fin de liste +# End of list # By default, exchange time with everybody, but don't allow configuration. # See /usr/share/doc/ntp-doc/html/accopt.html for details. diff --git a/repo/common/proxy.rc.local b/repo/common/proxy.rc.local index d68dbaa..0c63edb 100644 --- a/repo/common/proxy.rc.local +++ b/repo/common/proxy.rc.local @@ -1,3 +1,7 @@ +#!/bin/bash + +# Automatic proxy configuration on startup for sandboxed machines + apt_proxy=/etc/apt/apt.conf.d/00proxy proxy_line=$(cat $apt_proxy | awk '{print $2}') proxy_srv=$(echo $proxy_line | cut -d'/' -f 3 | cut -d':' -f 1)