post_install_sid: Ensure to disable dangerous modules (firewire,

thunderbolt, …).
This commit is contained in:
gardouille 2015-11-03 18:41:42 +01:00
parent c721033e5b
commit 553cb520f5
3 changed files with 19 additions and 6 deletions

View File

@ -1,8 +1,14 @@
---------------------------------------
### 0.3.0
### 0.3.1
#### Changes
* Forward root's mails to new user email address.
* Ensure to disable dangerous modules (firewire, thunderbolt, …).
### 0.3.0
#### Packages
##### Add

View File

@ -47,6 +47,9 @@ allow-hotplug enp0s25
iface enp0s25 inet dhcp
post-up openvpn /etc/openvpn/XYZ_tunnel.conf
```
* Modprobe
* Disable the annoying console beeps
* Ensure to disable dangerous modules such as firewire, thunderbolt, …
#### Network share

View File

@ -1009,6 +1009,15 @@ chown "${new_username}":"${new_username}" /home/"${new_username}"/.zsh
## Disable Openvpn to automatically start
systemctl disable openvpn.service
#### Modprobe
# Ensure to disable system beep/buzzer
echo "blacklist pcspkr" > /etc/modprobe.d/blacklist
#xset b off
# Ensure to blacklist dangerous modules (firewire, thunderbolt, …)
cp ${script_path}/modprobe.d/blacklist-dma.conf /etc/modprobe.d/
###### Information pour l'utilisateur final
cat >> "${INFORMATION}" << EOF
@ -1602,11 +1611,6 @@ aptitude purge '~c'
## Suppression du bip system/buzzer
echo "blacklist pcspkr" > /etc/modprobe.d/blacklist
#xset b off
# Restauration des sorties standard
restore_stdout