ltspcfg
This is the LTSP Configuration utility. It is used to configure the services on the server that are required for LTSP to work.
More documentation needed !!!
--
JimMcQuillan - 07 Jun 2005
Proposal for ltspcfg rewrite
--
GideonRomm - 29 Jul 2005
Motivation
The ltspcfg script has the potential to be even more powerful than it currently is (which packs a pretty good punch!), with just a few rather minor changes to the code's structure. The current code is written in Object Oriented Perl, but the objects themselves are difficult to use and expand in their current forms, as they are designed with an interactive menuing system in mind and have calls to stdin/stdout embedded in the object definitions.
So, I would like to propose a splitting of front-end and back-end at the object level (and not only at the script level). This will allow ltspcfg to be included in additional scripts to provide good solid working objects for use in ancillary scripts. For example, I could have a script that includes ltspcfg, instantiates an Interface Object, and immediately have access to methods that will provide information about the interfaces. This example could be extended to incorporate any of the files and services that LTSP depends upon. And, perhaps, distributions that incorporate LTSP but have distribution specific needs, can leverage the hard work already invested in ltspcfg without resorting to writing their own distribution specific scripts from scratch.
Usage
To make including ltspcfg in other files painless and straightforward, "ltspcfg" should exit returning true when passed without arguments. To bring up the interactive menu as it does now, it should be passed with a -m|--menu flag. Here is a more complete usage:
Usage: ltspcfg [options] [interface]
Without arguments, return true and exit.
-m | --menu Interactive text menu
-b | --blind Blindly configure with sane defaults
-s | --status List current status of configuration
-c | --configure Configure particular service|file (eg. -c nfs)
-e | --enable Enable particular service (eg. -e nfs)
-r | --run Start particular service
-l | --logfile Name of file to use as log file