Download UC-7400-LX Plus User`s Manual v4

Transcript
UC-7400-LX Plus User’s Manual
Managing Embedded Linux
Type the following commands to see all the daemons that are set to run at bootup.
#cd /etc/rc.d/rc3.d
#1s
192.168.3.127 - PuTTY
root@Moxa:/ect/rc.d/rc3.d#1s
S19nfs-common
S25nfs-user-server
S20snmpd
s55ssh
S24pcmcia
S99rmnologin
root@Moxa:/etc/rc.d/rc3.d#
S99showreadyled
192.168.3.127 – PuTTY
root@Moxa:/ect/rc.d/rc3.d# ls
S19nfs-common
S25nfs-user-server
S20snmpd
S55ssh
S24pcmcia
S99rmnologin
root@Moxa:/etc/rc.d/rc3.d#
S99showreadyled
#cd /etc/rc.d/init.d
Edit a shell script to execute /root/tcps2-release and save to tcps2 as an example.
#cd /etc/rc.d/rc3.d
#ln –s /etc/rc.d/init.d/tcps2 S60tcps2
SxxRUNFILE stands for:
S: start the run file when linux boots up.
xx: a number between 00-99. Smaller numbers have 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#
KxxRUNFILE stands for:
K: start the run file when linux shuts down or halts.
xx: a number between 00-99. Smaller numbers have a higher priority.
RUNFILE: the file name.
To remove the daemon, remove the run file from the /etc/rc.d/rc3.d directory by using the
following command:
3-6