[Initng-svn] r4372 - in initng/trunk: .
svn at initng.thinktux.net
svn at initng.thinktux.net
Tue Jun 6 11:34:58 CEST 2006
Author: qupada
Date: Tue Jun 6 11:34:56 2006
New Revision: 4372
Modified:
initng/trunk/README
initng/trunk/doc/CODING_STANDARDS
initng/trunk/doc/FAQ
initng/trunk/doc/INSTALL
initng/trunk/doc/initng.txt
Log:
Readability, spelling, and that sort of stuff
Modified: initng/trunk/README
==============================================================================
--- initng/trunk/README (original)
+++ initng/trunk/README Tue Jun 6 11:34:56 2006
@@ -77,8 +77,6 @@
fashion, as well as the launch time for each individual service. This allows
easier tracking of what services add the most time to startup.
-Another feature is the "really warm reboot". Using 'ngc -x' will bring down all
-services and soft reboot your system, from user level in only a few seconds.
2.1 The Next Generation Control (ngc)
@@ -88,7 +86,8 @@
communication, checking the status of all services, browse history, bring
services up and down, reboot or halt, and change runlevels.
-Executing 'ngc -h' will display the command's help and description.
+Executing 'ngc -h' will display the command's help and description. 'ngc -H'
+displays extended help.
@@ -103,7 +102,7 @@
3.1 How to Install
-----------------
-1. Download the latest version from here (http://jw.dyndns.org/initng/).
+1. Download the latest version from www.initng.org
2. Unzip the tarball, enter the directory, and install as super-user
Modified: initng/trunk/doc/CODING_STANDARDS
==============================================================================
--- initng/trunk/doc/CODING_STANDARDS (original)
+++ initng/trunk/doc/CODING_STANDARDS Tue Jun 6 11:34:56 2006
@@ -3,7 +3,7 @@
Some tips:
-* Please use 4 spaces to indent code blocks, not tabs.
+* Use 4 spaces to indent code blocks, not tabs.
* Curly braces stand on their own.
* Be generous with whitespace.
* Single line blocks do not require braces.
@@ -14,12 +14,13 @@
For .ii-files:
-* Please use a tab for indenting (you can resize the width of tabs in your editor). Spaces are dirty, using tabs here allows consistency.
-* Curly braces stand stands behind the function. (POSIX).
+* Use a tab for indenting (you can resize the width of tabs in your editor). Spaces are dirty, using tabs here allows consistency.
+* Curly braces stand behind the function. (POSIX).
* Comments should take the form "# comment" not just "#comment", as "#if" is an ifile processor statement.
* #ifd, #elsed and other ifile processor tags should not be indented.
* Scripts should be indented. (usually with 2 tabs.)
* Variables should be in braces: ${var}. This is both for clarity, and to prevent problems parsing the script.
* Every executable must be prefixed and suffixed with '@', as @/usr/bin/foo at . Note the 'echo' statement does not.
-* Script must be POSIX-compliant. We want initng to run everywhere. Can be tested with bash or other POSIX-compliat shells.
-* All services/daemons must never depend on system/initial. Set dependency to system/bootmisc.
+ Note the @ symbols surround the binary, not command line arguments, "@/usr/bin/foo@ -f" not "@/usr/bin/foo -f@"
+* Scripts must be POSIX-compliant for portability. Can be tested with bash or other POSIX-compliant shells.
+* No service or daemon should depend on system/initial. Use "need = system/bootmisc;"
Modified: initng/trunk/doc/FAQ
==============================================================================
--- initng/trunk/doc/FAQ (original)
+++ initng/trunk/doc/FAQ Tue Jun 6 11:34:56 2006
@@ -5,7 +5,7 @@
NOTE: initng is in heavy development at present and the following may no
longer apply. Even this document is likely to undergo major changes.
- For installation instructions see the README.
+ For installation instructions see the INSTALLATION and README files.
Contents:
@@ -29,11 +29,17 @@
Q: How do I load [xdm/gdm/kdm] by default?
A: After the system finished booting, press Alt-F2 to get a login prompt and
- login as root. Now type
+ login as root. Use ng-update to add the display manager to your runlevel.
+# ng-update add daemon/xdm default
# ng-update add daemon/gdm default
+# ng-update add daemon/kdm default
- to launch gdm on startup.
+ To launch the display manage without rebooting, use ngc.
+
+# ngc -u daemon/xdm
+# ngc -u daemon/gdm
+# ngc -u daemon/kdm
-----
Modified: initng/trunk/doc/INSTALL
==============================================================================
--- initng/trunk/doc/INSTALL (original)
+++ initng/trunk/doc/INSTALL Tue Jun 6 11:34:56 2006
@@ -4,9 +4,8 @@
For the most up-to-date installation instructions, please refer to the initng
wiki: http://www.initng.org/wiki/Installation
-As of version 0.6.1, GNU autotools has been completely replaced with CMake.
-Autotools is NO LONGER SUPPORTED and will more likely than not, if it will
-compile at all, leave you with a semi-functional initng installation.
+As of version 0.6.4, GNU autotools support has been completely removed.
+To compile initng, you will need CMake version 2.2.0 or later.
SYSTEM REQUIREMENTS
@@ -39,7 +38,7 @@
Run cmake (replaces ./configure). Note if you need to manually disable plugins
it can be done here.
-# cmake .. [-DPLUGIN_NAME={ON|OFF}]
+# cmake .. [-DPLUGIN_NAME=(ON|OFF)]
(PLUGIN_NAME will be of the form BUILD_NGCS)
To faciliate easier selection of plugins, cmake offers an ncurses-based menu,
@@ -57,7 +56,7 @@
# make install
-Install initng-ifiles before continuing
+Install initng-ifiles before continuing with configuration.
CONFIGURING INITNG
@@ -76,7 +75,8 @@
read-only
GRUB:
-Edit /boot/grub/grub.conf and add init=/sbin/initng to the kernel entry
+Edit the grub configuration file, /boot/grub/grub.conf or /boot/grub/menu.lst
+depepending on your distribution and add init=/sbin/initng to the kernel entry.
title linux-initng
root (hd0,1)
@@ -100,15 +100,15 @@
# gen_system_runlevel -all
-To add services to runlevels, you can edit the two runlevelk files with your
+To add services to runlevels, you can edit the two runlevel files with your
favourite text editor: (note 'system' is technically no longer counted as a
-runlevel, you can still edit it this way, but do exercise caution)
+runlevel, you can still edit it this way, but do exercise caution).
# vi /etc/initng/default.runlevel
# vi /etc/initng/system.virtual
Alternately, ng-update has been provided to make the process easier. For
-example, to start sound on boot and save/restore mixer settings at shutdown/
+example, to start sound on boot and save mixer settings on shutdown/restore on
boot, you would run:
# ng-update add system/alsasound default
@@ -117,3 +117,11 @@
Or to run hdparm:
# ng-update add system/hdparm default
+
+To remove a service:
+
+# ng-update del system/alsasound default
+
+To list services in a runlevel:
+
+# ng-update show default
Modified: initng/trunk/doc/initng.txt
==============================================================================
--- initng/trunk/doc/initng.txt (original)
+++ initng/trunk/doc/initng.txt Tue Jun 6 11:34:56 2006
@@ -20,6 +20,10 @@
Installing initng:
+NOTE: a considerable amount of this information is outdated, see the
+README and INSTALLATION files for the most up to date information
+
+
For those of you that would like to use portage:
ACCEPT_KEYWORDS="~ARCH" emerge initng
More information about the Initng-svn
mailing list