File: intro-1.html

package info (click to toggle)
linuxconf 1.26r4-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 56,432 kB
  • ctags: 27,217
  • sloc: cpp: 158,803; perl: 7,484; sh: 4,134; java: 3,105; ansic: 2,492; makefile: 2,216; python: 109
file content (51 lines) | stat: -rw-r--r-- 1,908 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE>shellmod: What is shellmod</TITLE>
 <LINK HREF="intro-2.html" REL=next>

 <LINK HREF="intro.html#toc1" REL=contents>
</HEAD>
<BODY>
<A HREF="intro-2.html">Next</A>
Previous
<A HREF="intro.html#toc1">Contents</A>
<HR>
<H2><A NAME="s1">1. What is shellmod</A></H2>

<P>Shellmod is a Linuxconf module as well as a stand-alone utility.
Its goal is to allow easy writing of other Linuxconf modules and
stand-alone utilities using sh (/bin/sh, the shell interpretor).
<P>The benefit of writing Linuxconf modules (or simply administration
utilities) this way are:
<P>
<UL>
<LI>Nice interface: Your script will work both in text and
graphical mode, with a much better appearance than an usual shell
script. When used as a module in Linuxconf, it will even
work in HTML, completely transparently.</LI>
<LI>Simplicity: It is possible to write useful stuff in a 10-15
lines shell script. It is possible to turn an non interactive
existing 10-15 lines shell script into a 15-20 lines cool
interactive script, running     both in text, GUI mode, and even
HTML mode.</LI>
<LI>Used as a module, your script will be able to hook itself in various
Linuxconf menus, making it fully integrated in the administration
scheme.</LI>
<LI>Not only the script can enhance Linuxconf menus, it can even
participate as a co-manager in some dialogs. This means that
a simple script can add new fields in the user account dialog for
example.</LI>
</UL>
<P>Normal C++ Linuxconf module can do more things obviously, but scripts
offers a nice and efficient solution for custom installation and
on site support. A new Linuxconf module may be develop with the
user/friend/customer looking over your shoulder.
<P>
<HR>
<A HREF="intro-2.html">Next</A>
Previous
<A HREF="intro.html#toc1">Contents</A>
</BODY>
</HTML>