dCore sce-remove Command

The sce-remove command is used to remove SCE(s) during shutdown. 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 is immediately removed from /etc/sysconfig/tcedir/ondemand/.

The actual SCE removal occurs during system shutdown, activated after running the exittc command (same as activating 'exit' from the Window Manager menu) or running sudo poweroff or sudo reboot. It is, therefore, possible to undo inadvertent SCE removals prior to shutdown by removing the /tmp/.removesce file. As any OnDemand scripts were immediately removed, they must be manually re-created using the dCore sce-ondemand Command.

Usage options from the 'sce-remove –help' command:

sce-remove - Remove SCE(s) upon shutdown. 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
             shutdown. Applicable SCE(s) will also be removed from OnDemand.

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.

> Return to the dCore Wiki Welcome page

Print/export
QR Code
QR Code dcore:sce-remove_command (generated for current page)