Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: teagy on August 03, 2012, 12:27:30 PM
-
I need to be able to run tce-update in a script with a no confirm option so that it doesn't hang waiting for the user to press Enter. Is this possible?
-
echo | tce-update
-
but sometimes tce-update says
Checking for Easy Mode Operation...
Unfortunately there is not enough free disk space for easy mode.
You can still proceed with in-place extension update.i
To ensure a safe batch upgrade of all extensions,
the following boot codes are recommended:
base norestore text
Best to run when no other extensions are being used.
The following boot codes are missing:
base norestore
It is recommended to Reboot with the recommended boot options,
and at system prompt enter: sudo tce-update
At minimum it better to exit from X and at system prompt enter:
sudo tce-update
To ignore recommendatons and force an update, type force, then press Enter
To query which extensions need to be updated, type query, then press Enter
Otherwise press Enter key to exit:
or something else similar
therefore need check return codes
-
Works great! Thanks a lot.
-
for case indicated above can make following
echo force | tce-update