This is an old revision of the document!
dCore sce-remove Command
The sce-remove command is used to remove SCE(s) upon shutdown or reboot. Running sce-remove adds the name of removed SCE extensions and any extensions depending on it to /tmp/.removesce. If the extension being removed is an OnDemand SCE, it's ondemand script will also be removed from /etc/sysconfig/tcedir/ondemand/.
The actual SCE removal occurs during shutdown, activated after running the exittc
command (same as activating 'exit' from the Window Manager menu). It is, therefore, possible to 'undo' the actual SCE removal prior to shutdown by simply removing the /tmp/.removesce file, although OnDemand status must be manually restored if applicable.
Usage options from the 'sce-remove –help' command:
sce-remove - Remove SCE(s) upon shutdown or reboot. Removing an SCE that other SCE(s) depend on for shared dependencies will also flag these for removal. SCE(s) flagged for removal are listed in /tmp/.removesce prior to reboot. Usage: sce-remove Select SCE(s) for removal from list. sce-remove SCE Mark SCE and any SCE(s) that depend on it for removal. sce-remove -k Select SCE(s) for removal from list, keep .lst and .dep files, useful for future re-imports. sce-remove -k SCE Mark SCE and any SCE(s) that depend on it for removal, keep .lst and .dep files, useful for future re-imports.