On Fri, 25 Feb 2011, Peter Palfrader wrote:
> Maybe start-stop-daemon should have an option to delete all but a
> specified set of environment variables, maybe even enabled by
> default.

The problem is in cases where you actually want to pass environmental
variables to the daemon from within the init script.

Maybe some equivalent of

unset $(export -p|awk -F= '{print $1}'|awk '{print $NF}')

would work?


Don Armstrong

-- 
I'm sorry about those late night emails.
I only said those things because I was too drunk
to be afraid.
  -- a softer world #579
     http://www.asofterworld.com/index.php?id=579

http://www.donarmstrong.com              http://rzlab.ucr.edu



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to