Moxa V2402-LX Руководство по программной части (Linux) онлайн [20/108] 170750

Moxa V2402-XPE Руководство по программной части (Linux) онлайн [20/108] 170751
V2401/2402 Series Linux User’s Manual Software Configuration
2-13
To run a private daemon, you can edit the file rc.local as follows:
1. Because the root file system is mounted in Read-only mode, you need to re-mount it with
write permission.
2. Type cd /etc/ to change directories.
3. Type vi rc.local to edit the configuration file with vi editor.
4. Next, add the application daemon that you want to run. We use the example program tcps2-
release which you can find in the CD to illustrate, and configure it to run in the background.
5. After you finish writing or modifying the code, remember to execute “umount /” to change the
root directory back to Read-only mode.
MOXA:~# mount -o remount,rw /dev/
s
d
a
1
/
MOXA:~# cd /etc/
MOXA:/etc/# vi rc.local
# !/bin/sh
# Add you want to run daemon
/root/tcps2-release &~
MOXA:~# umount /

Содержание

Похожие устройства

Скачать