Tiny Core Linux

Tiny Core Base => Micro Core => Topic started by: upstream on March 23, 2012, 09:16:07 AM

Title: Changing extensions to OnDemand
Post by: upstream on March 23, 2012, 09:16:07 AM
How can I change extensions from loading "onBoot" to loading "onDemand" using a command line interface?

Also, how do I start or load applications from the command line that have been installed "onDemand" ?

Thanks.
Title: Re: Changing extensions to OnDemand
Post by: roberts on March 23, 2012, 09:46:37 AM
1. OnBoot is represented by a simple text file located at:
/etc/sysconfig/tcedir/onboot.lst

Use your favorite editor or base CLI editor vi to adjust.

2. OnDemand from the command line is as follows:

To add for example flpicsee use
$ ondemand flpicsee

To remove flpicsee use:
$ ondemand -r flpicsee

Looking at your PATH you will see ondemand as the last location. So often you will just need to call the program by extension name to invoke from on demand, Subsequent calls find the program eariler in the PATH.
Title: Re: Changing extensions to OnDemand
Post by: upstream on March 23, 2012, 10:05:02 AM
Thanks very much.

So to change something from onboot to ondemand, just remove it from onboot.lst?
Title: Re: Changing extensions to OnDemand
Post by: Holmes.Sherlock on May 20, 2012, 10:34:06 PM
What does it happen when "ondemand" command is used?
Title: Re: Changing extensions to OnDemand
Post by: AbNoRMiS on May 20, 2012, 10:44:35 PM
http://wiki.tinycorelinux.net/wiki:persistence_for_dummies#selective_restoring_of_extensions
Title: Re: Changing extensions to OnDemand
Post by: Holmes.Sherlock on May 20, 2012, 10:46:15 PM
 :-X
http://wiki.tinycorelinux.net/wiki:persistence_for_dummies#selective_restoring_of_extensions

It says

Quote
This will add a script to the ondemand directory (in your path) that will mount the tcz when you need them.

Where will this script be added?
Title: Re: Changing extensions to OnDemand
Post by: AbNoRMiS on May 20, 2012, 10:56:01 PM
apps (browser for tcz extensions)
apps -> maintenance -> ondemand maintenance
Title: Re: Changing extensions to OnDemand
Post by: Holmes.Sherlock on May 20, 2012, 10:57:01 PM
apps (browser for tcz extensions)
apps -> maintenance -> ondemand maintenance

But I am using Core which lacks GUI.
Title: Re: Changing extensions to OnDemand
Post by: AbNoRMiS on May 20, 2012, 11:08:34 PM
http://wiki.tinycorelinux.net/wiki:install_apps#install_applications2
http://wiki.tinycorelinux.net/wiki:install_apps#app_browser

need to change nickname? 8)
Title: Re: Changing extensions to OnDemand
Post by: Holmes.Sherlock on May 20, 2012, 11:11:55 PM
need to change nickname? 8)

Not me, but better you change your nick to Holmes Mycroft (http://"http://en.wikipedia.org/wiki/Mycroft_Holmes")  :P