DA-660-8/16-LX User’s Manual
Managing Embedded Linux
3-7
xx: a number between 00-99. The smaller number has a higher priority.
RUNFILE: the file name.
192.168.3.127 - PuTTY
root@Moxa:/ect/rc.d/rc3.d# ls
S19nfs-common S25nfs-user-server S99showreadyled
S20snmpd S55ssh
S24pcmcia S99rmnologin
root@Moxa:/ect/rc.d/rc3.d# ln –s /root/tcps2-release S60tcps2
root@Moxa:/ect/rc.d/rc3.d# ls
S19nfs-common S25nfs-user-server S99rmnologin
S20snmpd S55ssh S99showreadyled
S24pcmcia
S60tcps2
root@Moxa:/etc/rc.d/rc3.d#
#cd /etc/rc.d/rc6.d
#ln –s /etc/rc.d/init.d/tcps2 K30tcps2
KxxRUNFILE stands for
K: start the run file while Linux shuts down or halts.
xx: a number between 00-99. The smaller number has a higher priority.
RUNFILE: is the file name.
For removing the daemon, you can remove the run file from
/etc/rc.d/rc3.d
by using the following
command:
#rm –f /etc/rc.d/rc3.d/S60tcps2
Adjusting the System Time
Setting the Time Manually
The DA-660 has two time settings. One is the system time, and the other is the RTC (Real Time
Clock) time kept by the DA-660 hardware. Use the
#date
command to query the current system
time or set a new system time. Use
#hwclock
to query the current RTC time or set a new RTC
time.
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 –w