X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=doc%2Fgrml-autoconfig.current.txt;h=9c7e8feda33d49baea5bee01e4470a87e714ccd8;hp=68063094857c44c7089257af2ad4a716206629ab;hb=d20e91bbc1ec7180929f853751e78bc9b0895147;hpb=7920da3c846427d629ec06fd21651ae3084e7f00 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