Home >

LunaSH Command Reference Guide > LunaSH Commands > sysconf > sysconf config clear

sysconf config clear

Delete all the configuration backup files in the file system, in the internal HSM, or in an external backup token. This command does not delete the initial factory configuration file in the file system.

If the -deviceType parameter is not specified, the files in the file system are deleted.

-serialNumber is required if -deviceType is "token" and optional if -deviceType is "hsm".

-serialNumber is not required and is ignored if -deviceType is not specified.

SO login is required before running this command if -deviceType is "hsm" or "token".

Syntax

sysconf config clear [-force]

Parameter Shortcut Description   
-deviceatypescription -d<devicetype> Comment describing this backup
-force -f Force the action without prompting.
-serialNumber - s <serialnum> Token Serial Number

Example

lunash:>sysconf config clear

WARNING !!  This command deletes all the configuration backup files except the initial factory configuration file.

If you are sure that you wish to proceed, then type 'proceed', otherwise type 'quit'.
> proceed

Proceeding...
Command Result : 0 (Success)