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