Update documentation regarding netscript
authorUlrich Dangel <mru@grml.org>
Thu, 14 Oct 2010 23:05:22 +0000 (01:05 +0200)
committerUlrich Dangel <mru@grml.org>
Thu, 14 Oct 2010 23:15:10 +0000 (01:15 +0200)
doc/grml-autoconfig.current.txt

index 6806309..9c7e8fe 100644 (file)
@@ -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