From e200e8e4b3e9104f147d5dc58d44a0749d687b71 Mon Sep 17 00:00:00 2001 From: Ulrich Dangel Date: Fri, 15 Oct 2010 01:05:22 +0200 Subject: [PATCH] Update documentation regarding netscript --- doc/grml-autoconfig.current.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.1.4