From 7b013b911262658bcb2ca6fda30b014e472766c7 Mon Sep 17 00:00:00 2001 From: David Beniamine <david.beniamine@tetras-libre.fr> Date: Mon, 29 Jan 2018 14:55:57 +0100 Subject: [PATCH] Small interface imprvemens --- dist/etc/apt/apt.conf.d/01proxy | 1 + postInstall.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 dist/etc/apt/apt.conf.d/01proxy diff --git a/dist/etc/apt/apt.conf.d/01proxy b/dist/etc/apt/apt.conf.d/01proxy new file mode 100644 index 0000000..7fee326 --- /dev/null +++ b/dist/etc/apt/apt.conf.d/01proxy @@ -0,0 +1 @@ +Acquire::http::Proxy "http://slis:3128"; diff --git a/postInstall.sh b/postInstall.sh index 5590935..f9e3129 100755 --- a/postInstall.sh +++ b/postInstall.sh @@ -1,7 +1,7 @@ #!/bin/bash while [ -z "$SRV_NAME" ] do - read -p "Please enter the name of the LDAP server (ex: DSIT or 0382693W)" SRV_NAME + read -p "Merci d'entrer le code RNE de l'école (ex: DSIT or 0382693W)" SRV_NAME done # Prepare LDAP config for f in dist/* @@ -12,3 +12,4 @@ for f in `find dist/ -type f` do sudo sed -i.orig "s/DSIT/$SRV_NAME/g" ${f/dist/} done +read -p "Configuration faite, appuyez sur n'importe quelle touche pour continuer" -- GitLab