From: Ulrich Dangel Date: Thu, 14 Oct 2010 23:05:22 +0000 (+0200) Subject: Update documentation regarding netscript X-Git-Tag: v0.9.14~8 X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=commitdiff_plain;h=e200e8e4b3e9104f147d5dc58d44a0749d687b71 Update documentation regarding netscript --- diff --git a/doc/grml-autoconfig.current.txt b/doc/grml-autoconfig.current.txt index 6806309..9c7e8fe 100644 --- a/doc/grml-autoconfig.current.txt +++ b/doc/grml-autoconfig.current.txt @@ -69,7 +69,9 @@ netscript:: Use this parameter to download and run a script from specified destination: You can also add variables to change the file name depending on the host configuration. Predefined and useful variables are $ARCH, $HOSTNAME and - $KERNEL. Usage example: + $KERNEL. The environment variable NETSCRIPT is set to the specified URI. + This can be used to detect if the script is executed via the netscript bootoption. + Usage example: netcript=server.tld/path/to/script => download and run script/executable from server netscript=server.tld/script-$HOSTNAME => download and run script/executable for specific host