From b7e2161416537c0b43de6c8ebc64a6098736c150 Mon Sep 17 00:00:00 2001 From: Joerg Woelke Date: Thu, 19 Aug 2010 15:40:09 +0200 Subject: [PATCH] grmlzshrc.t2t: More functions. deswap(), ipv6-tunnel(), Start()/Stop()/Reload() etc. --- doc/grmlzshrc.t2t | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/doc/grmlzshrc.t2t b/doc/grmlzshrc.t2t index 38d19ef..4abcb0e 100644 --- a/doc/grmlzshrc.t2t +++ b/doc/grmlzshrc.t2t @@ -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 -- 2.1.4