grmlzshrc.t2t: More functions.
authorJoerg Woelke <joewoe@fsmail.de>
Thu, 19 Aug 2010 13:40:09 +0000 (15:40 +0200)
committerFrank Terbeck <ft@grml.org>
Thu, 19 Aug 2010 19:39:23 +0000 (21:39 +0200)
deswap(), ipv6-tunnel(), Start()/Stop()/Reload() etc.

doc/grmlzshrc.t2t

index 38d19ef..4abcb0e 100644 (file)
@@ -528,6 +528,11 @@ Shows bug report for debian given by number in mailbox format.
 Tells the user to use grml-debootstrap, if she wants to install debian to
 harddisk.
 
+: **deswap()**
+A trick from $LINUX-KERNELSOURCE/Documentation/power/swsusp.txt. It brings
+back interactive responsiveness after suspend, when the system is swapping
+heavily.
+
 : **dirspace()**
 Shows the disk usage of the directories given in human readable format;
 defaults to $path.
@@ -600,6 +605,10 @@ for detailed usage information.
 Queries IMAP server (first parameter) for its capabilities. Takes
 port number as optional second argument.
 
+: **ipv6-tunnel()**
+Sets up an IPv6 tunnel on interface sit1. Needs one argument -
+either "start", "stop" or "status".
+
 : **is4()**
 Returns true, if zsh version is equal or greater than 4, else false.
 
@@ -806,6 +815,13 @@ certificate. First and only parameter must be a file containing a
 certificate. Use /dev/stdin as file if you want to pipe a certificate
 to this function.
 
+: **Start(), Restart(), Stop(), Force-Reload(), Reload()**
+Functions for controlling daemons.
+```
+Example usage:
+% Restart ssh
+```
+
 : **startx()**
 Initializes an X session using startx(1) if /etc/X11/xorg.conf exists, else
 issues a Warning to use the grml-x(1) script. Can be overridden by using