
Korenix | System Feature
19
first argument stop
3-3
Setting Run-Level
The “run level” setting can be configuring at the file
/etc/inittab
. Conventionally, seven
runlevels exist, numbered from zero to six; though up to ten, from zero to nine, may be used.
You can change the number to boot JetBox into different runlevel.
id:
3
:initdefault:
In this example, runlevel 3 is the default and the scripts that define runlevel 3 can be found in
/etc/rc3.d/.
NOTE
Scripts are run in file name lexical order. Just use ls -l to find out the start
order.
3-4
Setting System Time
The JetBox9500 has two time settings. One is the system time, and the other is the RTC (Real
Time Clock) time kept by the JetBox9500’s hardware.
Use the #
date
command to query the current system time or set a new system time.
#date MMDDhhmmYYYY
MM = Month
DD = Date
hhmm = hour and minute
YYYY = Year
Use #
hwclock
to query the current RTC time
Use the following command to set system time from hardware clock:
#hwclock -s
The following figure illustrates how to update the system time and set the RTC time.