Docstoc

Tech Tip

Document Sample
Tech Tip Powered By Docstoc
					                                                  Tech Tip

Feature:         Restore to custom factory default
Components:      factory-def.sh
                 Firmware


Description:
   This feature enables the ability to define the state to which the IOLAN DS will be returned upon the
   execution of a “reset to factory” request.

    This request can be initiated via any one of the configuration utilities as well as by depressing and
    holding the “reset” button for at least 3 seconds.

Procedure to set custom factory default:
    1. Customer will supply a “config.def” file. This file is generated using the Device Manager. It is the
       configuration to which the user wishes to return to upon the execution of a “reset to factory”
       command. User must ensure that the configuration file they generate is for the type of unit they
       have. (i.e. SDS1, SDS2, STS4, etc…). Please note that the default extension given to the
       configuration file by the Device Manager is “.dme” by default. When saving your configuration
       file, make sure you specify the full name of “config.def”.
    2. Customer will provide a script file which will be executed upon a “reset to factory” command. This
       file typically will delete the original configuration file and replace it with the version the user
       wishes to become the “default” configuration. The name of the script file must be “factory-def.sh”.
    3. Customer will load the script file (“factory-def.sh”) and “config.def” file into the unit using the
       “Download Custom App File To Unit” option.
    4. Re-boot the unit.

Procedure to re-set custom factory default (reset to Perle factory default):
    1. At the command line, execute the command “shell rm sdk factory-def.sh
    2. Press and hold the reset button for 3 seconds. Unit will re-boot into the Perle factory default
       state.

Sample “factory-def.sh” script file;

    #!/bin/sh
    export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
    rm /product/config
    cp /product/sdk/config.def /product/config

				
DOCUMENT INFO
Shared By:
Categories:
Stats:
views:8
posted:2/12/2010
language:English
pages:1