[issue913] netscript bootoption: export variable to detect execution
Michael Prokop
bts at bts.grml.org
Thu Oct 14 14:11:35 CEST 2010
New submission from Michael Prokop <mika at grml.org>:
It would be nice if the netscript bootoption exports an environment variable
that could be used for checking whether the script is being executed under the
netscript bootoption or manually. (I've deployment scripts that set up
harddisks, the script should be executed if running under the netscript
bootoption but shouldn't be executed by default if invoked manually. Checking
for $SHLVL is possible but not reliable enough.)
----------
messages: 3378
nosy: mika
priority: feature
status: unread
title: netscript bootoption: export variable to detect execution
_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue913>
_____________________________________
More information about the Bugs-changes
mailing list