If you want to unconfigure a previously configured Oracle Solaris instance and leave it in an unconfigured state, use the unconfigure subcommand. You can choose to unconfigure all the functional groupings or just some of them. For further information, see the sysconfig(1M) man page.Example 1 Unconfiguring a System
Use the sysconfig unconfigure command as in the following example to remove all configuration data from the system.
# sysconfig unconfigure -g systemExample 2 Unconfiguring SMF Data
The Oracle Solaris Service Management Facility (SMF) stores some configuration data which is not removed when a system in unconfigured. In particular, the data stored in /etc/svc/profile/site and in the admin layer is not part of the functional groupings. In order to remove this data as well as unconfiguring the system, use the following command:
# sysconfig unconfigure -g system --include-site-profile
The XML profiles that are removed are archived in a tar file named /etc/svc/profile/sysconfig/site-profile.tar.Example 3 Unconfiguring A Specific Functional Grouping
In this example we are configuring the date and time data on the system.
# sysconfig unconfigure -g date_time
Alternately, you can unconfigure the system and shut down the system as follows.
# sysconfig unconfigure -s
The SCI Tool runs once the system reboots to reconfigure the system.