Loading factory defaults, Autostarting user applications on bootup, Checking the kernel and root file system versions – Moxa Technologies EM-1240-LX User Manual
Page 46: Loading factory defaults -13, Autostarting user applications on bootup -13

EM-1240-LX User’s Manual
Configuring EM-1240-LX
4-13
|
+bin
Loading Factory Defaults
The easiest way to “Load Factory Defaults” is with the “Upgrade User directory” operation.
Refer to the previous section “How to Upgrade User Directory” for an introduction.
You may also press the RESET button for more than 5 seconds to load the factory default
configuration or input the command “ldfactory” in telnet console to restore the factory defaults.
Mirroring the Application Program and Configuration
For some applications, you may need to “Mirror” (or sometimes “Ghost”) one EM-1240-LX’s user
directory, and duplicate it to other EM-1240-LXs.
To do this, use the following recommended procedure:
1. Backup the user directory to a PC.
(Refer to the previous topic User Directory Backup—EM-1240-LX to a PC.)
Hint:
/ramdisk>backupfs /ramdisk/
2. Download the backed up user directory to the other EM-1240-LX.
(Refer to the previous topic Upgrading the User Directory)
Hint:
/ramdisk>bf /ramdisk/
Autostarting User Applications on Bootup
Edit the /etc/rc file by adding your application program. E.g.,
/ap-directory/ap-program &
Checking the Kernel and Root File System Versions
Use the following commands to check the version of the kernel and root file system:
To check the kernel version:
/>kversion