rc.boot (745B)
1 #!/bin/sh 2 # EXAMPLE CONFIGURATION 3 # rc.boot: early system bring-up, run by origo before serva starts. 4 # origo already mounts: /proc /sys /dev /dev/pts 5 6 # hostname 7 hostname mybox 8 9 # optional filesystems — uncomment as needed 10 #mount -t tmpfs tmpfs /run 11 #mount -t tmpfs tmpfs /tmp 12 13 # /etc/fstab 14 mount -a 15 16 # some distros might need this for applications like steam 17 #ln -sf /proc/self/fd /dev/fd 18 19 # ensure /run exists for serva.sock 20 mkdir -p /run 21 22 # load keymap, set console font, etc. 23 #loadkeys us 24 #setfont Lat2-Terminus16 25 26 # network — adjust to taste 27 #ip link set lo up 28 #ip link set eth0 up 29 #sdhcp -i eth0 30 31 # smdev/mdev 32 #smdev -s 33 #echo /bin/smdev > /proc/sys/kernel/hotplug 34 35 # source local customisation 36 [ -x /etc/rc.local ] && . /etc/rc.local