Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
deb11:setup [2023/04/20 21:54] – [System Startup] Bernard Condraudeb11:setup [2023/04/20 22:02] (current) – [System Startup] Bernard Condrau
Line 26: Line 26:
  
 ===== System Startup ===== ===== System Startup =====
-If you are running a Linux distro that uses Systemd, then you may find that your command in ''/etc/rc.local'' file would not run at system boot time. This guide explains how to enable ''/etc/rc.local'' script to run on system startup.+Debian 11 uses Systemd, not SysV, that's why your commands in ''/etc/rc.local'' file would not run at system boot time. This guide explains how to enable ''/etc/rc.local'' script to run on system startup. 
 +  - Create a rc.local unit file, follow [[deb10:rclocal|Services - rc.local]]
   - Create file rc.local in /etc with the following content:<code>vim /etc/rc.local   - Create file rc.local in /etc with the following content:<code>vim /etc/rc.local
 #!/bin/sh -e #!/bin/sh -e