diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..9b41a10 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,10 @@ + +--------------------------------------- + +### 0.3.0 + +#### Remove +* Remove bluetooth packages (System tools for shell). + +#### Changes +* Disable Openvpn service (System tools for shell). diff --git a/README.md b/README.md index 6635c83..3fa58ad 100644 --- a/README.md +++ b/README.md @@ -1 +1,22 @@ -* post_install_sid.sh: Script to complete the installation of Debian Sid on my laptop. +#### Table of Contents + +1. [Post installation script for Debian Sid](#post_install_sid.sh) + * [ System tools for shell](#system-tools-for-shell) + +## post_install_sid.sh +Script to complete the installation of Debian Sid on my laptop. + +#### System tools for shell + +##### Remove +* bluetooth packages (bluetooth, bluez) + +##### Configuration +* Disable Openvpn service. + * Useful in case of many configuration files. A default vpn is launch by "post-up" instruction in '/etc/network/interfaces' file: +``` +allow-hotplug enp0s25 +iface enp0s25 inet dhcp + post-up openvpn /etc/openvpn/XYZ_tunnel.conf +``` + diff --git a/post_install_sid.sh b/post_install_sid.sh index e78a59e..c74b494 100755 --- a/post_install_sid.sh +++ b/post_install_sid.sh @@ -3,7 +3,7 @@ ## ## Nom: new_post_install.sh ## -## Version: 0.02.30 +## Version: 0.3.0 ## ## Licence: Creative Commons ## @@ -1060,17 +1060,19 @@ EOF ########################################################### -## Outils système (shell) +## System tools for shell # Liste: backuppc - bsdmainutils - colordiff - cpio - ethtool - exuberant-ctags - iperf - genisoimage - knockd - lzip - moreutils - multitail - mr - ntfs-3g - openvpn - pmount - rsyslog - screen - sudo - tmux - unrar - unzip - urlview - vim-nox - vim-doc - vim-scripts - vlock - wakeonlan - zsh - zip +## Remove: bluetooth bluez ########################################################### ###### Pré-configuration # Chargement d'un fichier preseed preconfig backuppc ###### Installation -aptins "Outils système (shell)" backuppc bsdmainutils colordiff cpio ethtool iperf genisoimage knockd lzip moreutils multitail mr ntfs-3g openvpn pmount rsyslog screen sudo tmux unrar unzip urlview vim-nox vim-doc vim-scripts vlock wakeonlan zsh zip +aptins "System tools for shell" backuppc bsdmainutils colordiff cpio ethtool iperf genisoimage knockd lzip moreutils multitail mr ntfs-3g openvpn pmount rsyslog screen sudo tmux unrar unzip urlview vim-nox vim-doc vim-scripts vlock wakeonlan zsh zip -adduser ${UTILISATEUR} sudo +###### Remove +aptitude remove bluetooth bluez ###### Post-configuration # sysklogd par défaut sur la console tty9 @@ -1084,6 +1086,9 @@ update-alternatives --set editor /usr/bin/vim.nox # Suppression de vim-tiny (la purge se fera à la fin du script) aptitude remove vim-tiny +# Add default user to sudo group +adduser ${UTILISATEUR} sudo + ## Changement du shell par défaut pour les utilisateurs # Root chsh -s /bin/zsh @@ -1096,10 +1101,13 @@ sed -i "s;/bin/bash;/bin/zsh;" /etc/adduser.conf mkdir /home/"${UTILISATEUR}"/.zsh chown "${UTILISATEUR}":"${UTILISATEUR}" /home/"${UTILISATEUR}"/.zsh +## Disable Openvpn to automatically start +systemctl disable openvpn.service + ###### Information pour l'utilisateur final cat >> "${INFORMATION}" << EOF -======Instructions Outils systèmes (shell)====== +====== System tools for shell - Doc ====== Voici la liste des paquets installés : +backuppc : Outils de sauvegarde/restauration (totale et incrémentielle) disposant en plus d'une interface web