Author: sparky
Date: Thu Mar 16 15:54:45 2006
New Revision: 7192

Modified:
   ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/saveconfig
   ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/setbootopt
   ppcrcd/trunk/doc/README.progs
   ppcrcd/trunk/doc/gendoc.pl
Log:
- programs desctiptions moved do programs


Modified: ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/saveconfig
==============================================================================
--- ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/saveconfig     (original)
+++ ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/saveconfig     Thu Mar 16 15:54:45 2006
@@ -1,5 +1,13 @@
 #!/bin/sh
 
[EMAIL PROTECTED]@ saveconfig:
+#@     Saves all changed files in <*</etc>*> to xmltar-gziped archive. If this
+#@     succeeds tries to guess </<conf=>/> option needed to load configuration
+#@     on system startup, but this isn't very smart so don't trust it too much.
+#@         Only, and necessary saveconfig's argument is an existing directory, 
or
+#@     not existing filename in existing directory. In first case, if you
+#@     specify directory, configuration will be saved as 
'<_<ppcrcd.xmltar.gz>_>'.
+
 . /usr/lib/ppcrcd/functions
 
 # prepare and check ##########################################################

Modified: ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/setbootopt
==============================================================================
--- ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/setbootopt     (original)
+++ ppcrcd/trunk/conf.dir/usr/lib/ppcrcd/setbootopt     Thu Mar 16 15:54:45 2006
@@ -1,9 +1,23 @@
 #!/bin/sh
 # [EMAIL PROTECTED]
 
-# set ppcrcd= nvram variable
-# parse to search only proper options
-
[EMAIL PROTECTED]@      setbootopt:
+#@     This script checks and saves kernel command line options which are
+#@     marked as '</<saveable>/>' to nvram. If it's used for first time, or 
after
+#@     nvram reseting has to create </<ppcrcd=>/> variable, which can be a 
little
+#@     dangerous, so advertises about it and creates it if called once again.
+#@         Script tries to check correctness of specified options, like 
checking
+#@     does specified kernel module exist, but if it fails on correctly
+#@     specified option '-f' (force) switch can be used to force adding the
+#@     option.
+#@         Don't allows saving multiple options of same type, except 
</<eth=>/>.
+#@     If new option of same type is added it replaces old option, but 
</<eth=>/>
+#@     is simply added.
+#@         Script checks what you already have stored in nvram, if you want to
+#@     remove old options type '-r' as first argument. Option '-rn' removes
+#@     all </<eth=>/> variables.
+#@         If nvram is not empty and setbootopt is called without arguments
+#@     it lists already stored variables.
 
 . /usr/lib/ppcrcd/functions
 

Modified: ppcrcd/trunk/doc/README.progs
==============================================================================
--- ppcrcd/trunk/doc/README.progs       (original)
+++ ppcrcd/trunk/doc/README.progs       Thu Mar 16 15:54:45 2006
@@ -1,28 +1,4 @@
 === PPCRCD-specific programs ===
 
-== saveconfig ==
-Saves all changed files in <*</etc>*> to xmltar-gziped archive. If this 
succeeds
-tries to guess </<conf=>/> option needed to load configuration on system
-startup, but this isn't very smart so don't trust it too much.
-    Only, and necessary saveconfig's argument is an existing directory, or
-not existing filename in existing directory. In first case, if you
-specify directory, configuration will be saved as '<_<ppcrcd.xmltar.gz>_>'.
+<options "progs">
 
-== setbootopt ==
-This script checks and saves kernel command line options which are
-marked as '</<saveable>/>' to nvram. If it's used for first time, or after
-nvram reseting has to create </<ppcrcd=>/> variable, which can be a little
-dangerous, so advertises about it and creates it if called once again.
-
-Script tries to check correctness of specified options, like checking
-does specified kernel module exist, but if it fails on correctly
-specified option '-f' (force) switch can be used to force adding the
-option.
-    Don't allows saving multiple options of same type, except </<eth=>/>.
-If new option of same type is added it replaces old option, but </<eth=>/>
-is simply added.
-    Script checks what you already have stored in nvram, if you want to
-remove old options type '-r' as first argument. Option '-rn' removes
-all </<eth=>/> variables.
-    If nvram is not empty and setbootopt is called without arguments
-it lists already stored variables,

Modified: ppcrcd/trunk/doc/gendoc.pl
==============================================================================
--- ppcrcd/trunk/doc/gendoc.pl  (original)
+++ ppcrcd/trunk/doc/gendoc.pl  Thu Mar 16 15:54:45 2006
@@ -20,7 +20,8 @@
                        my $varname = $2;
                        $hash->{$varname} .= $_;
                        while ( <F_IN> ) {
-                               if ( s/[EMAIL PROTECTED]// ) {
+                               if ( s/^\s*?#@// ) {
+                                       s/^     +// or s/^ +//;
                                        $hash->{$varname} .= $_;
                                } else {
                                        redo file;
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to