BlackDog Boot Scripts
The boot sequence determines the order in which scripts are read and executed by the shell. For example, the boot sequence determines the order in which a user is required to authenticate. You can change the boot sequence by editing the init.d scripts on the device that are used to launch the login application, and so forth. These scripts are located in the /etc/init.d directory and are symbolically linked to the /etc/rc2.d directory. You use the update-rc.d command to add and delete scripts, and edit the run priorities.
For more information on the update-rc.d command (including examples), please see the update-rc.d man page. Run the following command from anywhere in the BlackDog SDK:
man update-rc.d
Note: BlackDog uses run level '2'.
System Boot Scripts
The rc2.d scripts fall into three functional categories:
Initialization files that provide system configuration information. These files include:
- S01udhcpd - this script initializes a small dynamic host configuration protocol (DHCP) server. The DHCP server provides the host PC with the unique IP address for the BlackDog network card, which effectively presents the BlackDog as a network device to the host.
System Processes that provide services to the external world. These files include:
- S20ssh - (SDK only) this script starts an SSH server that establishes a secure remote login session to the emulator. The ssh script is provided only for the SDK and is not available on the BlackDog device.
- S20vtun - this script tunnels Ethernet over IP, allowing the BlackDog to use the host PC Internet connection via Network Address Translation (NAT).
- S20xfs - this script initializes an X font server that makes fonts available to clients displayed on the host machine.
User experience files that control the user interaction with the host PC.
- S15login-screen - this script invokes the login screen on the host and the user authentication sequence that validates the user name, password, and fingerprint credentials required for user login to the device. The login-screen script starts the login program, which loads the PAM libraries. PAM initiates authentication by loading PAM modules specified in the realm-mps file authentication sequence.
- S99local - this script contains optional, site-specific, initialization information.
 |
 |
 |
Copyright © Realm Systems, Inc. 2003-2005.
All rights reserved.
|
|