Next revision | Previous revision |
dcore:sce-remove_command [2016/05/17 00:39] – created nitram | dcore:sce-remove_command [2016/09/11 02:51] (current) – nitram |
---|
===== dCore sce-remove Command ===== | ===== 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 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 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. | 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|dCore sce-ondemand Command]]. |
| |
Usage options from the 'sce-remove –help' command: | Usage options from the 'sce-remove –help' command: |
| |
sce-remove - Remove SCE(s) upon shutdown or reboot. Removing an SCE that other | sce-remove - Remove SCE(s) upon shutdown. Removing an SCE that other SCE(s) |
SCE(s) depend on for shared dependencies will also flag these for | depend on for shared dependencies will also flag these for removal. |
removal. SCE(s) flagged for removal are listed in /tmp/.removesce | SCE(s) flagged for removal are listed in /tmp/.removesce prior to |
prior to reboot. | shutdown. Applicable SCE(s) will also be removed from OnDemand. |
| |
Usage: | Usage: |
| |
sce-remove Select SCE(s) for removal from list. | 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 SCE Mark SCE and any SCE(s) that depend on it for removal. |