I've started work on a setup.lrp, which will use dialog (which
requires libm and ncurses) to provide a simple setup script for
experts and novices alike. It is also flexible enough to be used for
new environments and new "configurations" such as seawall or the
EigerStein scripts.
It works a bit like the /etc/rc.d directories or the HP-UX
/etc/rc.config.d files: the setup script itself is only made up of the
main menu (to choose advanced or novice setup), and then all of the
files in setup.d/ are run in alphabetical sequence, either with a
"advanced" or a "novice" parameter.
"Novice" is different from "Advanced" in several respects. Advanced
setup is basically just a menu interface to configure everything.
Novice setup is marked by detailed explanations, fewer questions (some
assumptions are made and acted on), and less ability to get into
harm's way.
A good example might be choosing packages on the boot disk to keep or
obliterate: the expert mode allows one to pick and choose each package
(except root.lrp) by name in a single list of package files (*.lrp);
novice mode steps through each package, explains it, what it does,
whether it is required or not, and allows the user to choose - I will
probably remove usr.lrp, home.lrp, etc.lrp, and similar from the
novice section to provide further protection.
What do you all think? Here's my goal - my vision:
A new user comes along (with or without UNIX/network tech), boots with
two disks (yes two), and then goes through this initial setup step by
step, with a boot disk to be configured in hand. Once this is all
done, then the disk is backed up to another, the configuration saved,
and the user reboots with this ONE disk for a router.
Thoughts?
_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel