Lantronix EDS2100 Linux SDK - User Guide - Page 48

µClinux Startup Scripts, Introduction, etc/inittab, etc/init.d/rcS, etc/start

Page 48 highlights

7. µClinux Startup Scripts Introduction Various startup scripts are called during the Linux boot process. These initialization files are found in the build environment under /linux/vendors/Lantronix//romfs_extra/. Edit them as appropriate. /etc/inittab The /etc/inittab file controls the configuration for the init process. It is here that the various startup and shutdown scripts are configured, and the console device is specified. The default /etc/inittab file is setup so that /etc/init.d/rcS will be called at startup. /etc/init.d/rcS The /etc/init.d/rcS script is responsible for mounting the target's file systems, and calling the next stage of initialization scripts. /etc/start The /etc/start script is called by /etc/init.d/rcS. It calls the /etc/netstart script to initialize networking, and various other scripts if they are present. It also calls dBUG-config to reset the boot failure counter which was previously incremented by dBUG. Linux Software Developers Kit (SDK) User Guide 48

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76

Linux Software Developers Kit (SDK) User Guide
48
7. μClinux Startup Scripts
Introduction
Various startup scripts are called during the Linux boot process. These initialization files are
found in the build environment under
<install directory>/linux/vendors/Lantronix/<platform>/romfs_extra/.
Edit them as appropriate.
/etc/inittab
The /etc/inittab file controls the configuration for the init process. It is here that the various startup
and shutdown scripts are configured, and the console device is specified. The default /etc/inittab
file is setup so that /etc/init.d/rcS will be called at startup.
/etc/init.d/rcS
The /etc/init.d/rcS script is responsible for mounting the target’s file systems, and calling the next
stage of initialization scripts.
/etc/start
The /etc/start script is called by /etc/init.d/rcS. It calls the /etc/netstart script to initialize
networking, and various other scripts if they are present. It also calls dBUG-config to reset the
boot failure counter which was previously incremented by dBUG.