System information
Administration Tasks Not Done in the Web Manager 101
Restoring Factory Default Configuration Files
Restoring Factory Default Configuration Files
The administrator can restore the factory default configuration files from the
factory_default_files.gz file by performing the following
procedure while logged in as root through the console, via telnet, or via
any ssh session to restore the configuration files to the state they were in
when the OnBoard shipped. For how to restore factory defaults while you are
saving a boot image from RAM memory onto the resident flash memory, see
“To Upgrade to a Boot Image From a Network Boot in U-Boot
Monitor Mode” on page 414.
T To Restore the Factory Default Configuration
Files From the Command Line
1. Log into the console as root.
2. Enter the restoreconf command with the factory_default
option.
Adding New Files to Be Backed Up and Restored
The /etc/config_files file lists all files to be backed-up and restored,
including its own filename.
If you add an application, or a script, or a data file to the system, make sure to
add the file’s pathname to the config_files file.
T To Configure an Added Script or Other File
for Backup and Restoration
1. Log into the OnBoard command line as root.
2.
Change to the /etc directory.
3. Open the config_files file for editing.
[root@OnBoard root]# restoreconf factory_default
[root@OnBoard /]# cd /etc
[root@OnBoard /]# vi config_files