Fichiers de configuration

Quelques fichiers de configuration. A adapter selon vos souhaits.
Fichier Chemin Description
rc.local /etc/rc.local Pour configurer le ventilateur, l'ajout d'une ipv6 fixe, et un soucis d'erreurs avec le disque dur.
keyboard /etc/default/keyboard Pour configurer le clavier en azerty.
Page de test Test Page de test
/etc/rc.local
#!/bin/sh -e
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

# Add static Ipv6 
/sbin/ip -6 addr add 2a01:e0a:195:1040:cdaf:219b:207e:d823/64 dev enx001e06300937
/sbin/ip -6 route add default via 2a01:e0a:195:1040::1

# Manage the fan
if [ -f /sys/devices/virtual/thermal/thermal_zone0/trip_point_0_temp ]; then
        echo '60000' > /sys/devices/virtual/thermal/thermal_zone0/trip_point_0_temp
        echo '70000' > /sys/devices/virtual/thermal/thermal_zone0/trip_point_1_temp
        echo '80000' > /sys/devices/virtual/thermal/thermal_zone0/trip_point_2_temp
fi

if [ -f '/sys/devices/platform/pwm-fan/hwmon/hwmon0/fan_speed' ]; then
        echo "38 77 150 245" > /sys/devices/platform/pwm-fan/hwmon/hwmon0/fan_speed
fi

# Secure the disk
echo 'noop' > /sys/block/sda/queue/scheduler
exit 0
/etc/default/keyboard
# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="fr"
XKBVARIANT="azerty"
XKBOPTIONS=""

BACKSPACE="guess"
Blank page