rcS process
Date: 2015-01-05

This section has layout issues in mobile phone mode.

This script is called with two paramters, S and boot. Only the second parameter is passed, as the first parameter, to each of the scripts in /etc/rc.d/ NOTE: Scripts in /etc/rc.d/ are symbolically linked to scripts in /etc/init.d/

NOTE: A lot of tricks are placed in /lib/functions.sh, /etc/rc.common, & /lib/config/uci.sh

NOTE: /lib/functions/service.sh is the "service" that starts most of the utilities in /etc/rc.d/, it uses /sbin/start-stop-daemon

Startup Script |Sequence Number ||Name in '/etc/init.d' ||| VVVVVVV Sddname

Last Update: 2015-02-02

scriptname
purpose
part of vanilla setup£
S05defconfig
default values for platform
Y
S05luci_fixtime
adjust system time
N
S09handle_wifi_reset
resets wifi state
N
S10boot
mounts storage, loads modules, applies various UCI defaults
Y
S11sysctl
applies various sysctl values
N1
S11ubus
microbus message system, like udev
N
S18rename-wifi-if-access-point
what it says
N
S19firewall
starts 'fw3'
N2
S20fstab
mounts user filesystem and swap
N
S20network
load 'netifd' & socket processes
N3
S39usb
mounts 'ubsfs'
Y
S48rngd
random number generator
N
S49delete_uhttpd_cert
deletes http certificates
N
S49generate_new_gpg_key
generates new GPG key
N
S50cron
launches crond if needed
Y
S50dropbear
starts SSH & SCP daemon
Y
S50uhttpd
starts mini webserver
N
S59luci_dhcp_migrate
migrates configuration variables
N
S60dbus
another message bus, more traditional
N
S60dnsmasq
a DNS forwarder and DHCP server
Y
S61avahi-daemon
avahi-daemon, zero configuration DNS tool
N
S93triggerhappy
dynamic hardware button daemon
N
S95done
set final states & run /etc/rc.local
Y
S96led
set LEDs
Y
S97watchdog
watchdog that watches for wedged processes
Y
S98sysntpd
runs 'ntpd' - network time daemon
N
S99rngd-turn-off
turn-off random number generator
N
S99usd
microSD support
N

  1. Technically S11sysctl is not part of the "vanilla setup", but in the vanilla it was S99sysctl
  2. The firewall was orignally S45
  3. The network was originally S40