BTS

Message3378

Author mika
Recipients mika
Date 2010-10-14.12:11:34
Content
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.)
History
Date User Action Args
2010-10-14 12:11:35mikasetrecipients: + mika
2010-10-14 12:11:35mikasetmessageid: <1287058295.51.0.103792319682.issue913@bts.grml.org>
2010-10-14 12:11:35mikalinkissue913 messages
2010-10-14 12:11:34mikacreate