Managing Embedded Linux |
SxxRUNFILE stands for
S: start the run file while linux boots up.
xx:a number between
192.168.3.127 – PuTTY
root@Moxa:/ect/rc.d/rc3.d# ls
S20snmpd S55ssh
S24pcmcia S99rmnologin
root@Moxa:/ect/rc.d/rc3.d# ln
root@Moxa:/ect/rc.d/rc3.d# ls |
| |
S20snmpd | S55ssh | S99showreadyled |
S24pcmcia | S60tcps2 |
|
root@Moxa:/etc/rc.d/rc3.d#
KxxRUNFILE stands for
K: start the run file while linux shuts down or halts.
xx:a number between
For removing the daemon, you can remove the run file from /etc/rc.d/rc3.d by using the following command:
#rm
Adjusting the System Time
Setting the Time Manually
Use the following command to query the system time:
#date
Use the following command to query the RTC time:
#hwclock
Use the following command to set the system time:
#date MMDDhhmmYYYY
MM= Month
DD = Date
hhmm = hour and minute YYYY = Year
Use the following command to set the RTC time:
#hwclock
Write current system time to RTC
The following figure illustrates how to update thesystem time and set the RTC time.