Activer/Désactiver un module au boot
Exemple pour le module isc-dhcp-server (nom du module à remplacer)
(Devenir l'utilisateur root
)
doe@debian:~$ su - root Mot de passe :
Activer
root@debian:~# systemctl enable isc-dhcp-server Synchronizing state for isc-dhcp-server.service with sysvinit using update-rc.d... Executing /usr/sbin/update-rc.d isc-dhcp-server defaults insserv: warning: current start runlevel(s) (empty) of script `isc-dhcp-server' overrides LSB defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `isc-dhcp-server' overrides LSB defaults (0 1 6). Executing /usr/sbin/update-rc.d isc-dhcp-server enable
Désactiver
root@debian:~# systemctl disable isc-dhcp-server Synchronizing state for isc-dhcp-server.service with sysvinit using update-rc.d... Executing /usr/sbin/update-rc.d isc-dhcp-server defaults Executing /usr/sbin/update-rc.d isc-dhcp-server disable insserv: warning: current start runlevel(s) (empty) of script `isc-dhcp-server' overrides LSB defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `isc-dhcp-server' overrides LSB defaults (0 1 6).