Bootlocal.sh

From DSL Wiki

   This page in other languages: EspaƱol, Deutsch

/opt/bootlocal.sh

bootlocal.sh can be compared to DOS' autoexec.bat. You add (non X programs, for X apps, use .xinitrc) commands that you want to start at boot here.

Here is the default content (DSL 1.5).

#!/bin/bash
# put other system startup command here
/sbin/syslogd
loadkeys </path/to/your/selected/keymap>

For example, if I wanted to start the Monkey Web Server and sshd, I would add these two lines to the bottom.

/etc/init.d/sshd start
/opt/monkey/bin/banana start

(i'm no pro so i'll just leave a note here: "/etc/init.d/ssh start" works for me)

Links

Xinitrc.xinitrc