Index: ChangeLog =================================================================== --- ChangeLog (revision 1469) +++ ChangeLog (working copy) @@ -1,6 +1,11 @@ # ChangeLog for Gentoo System Intialization ("rc") scripts # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPLv2 + 03 Sep 2005; Martin Schlemmer : + + Add warning about having LANG in env_whitelist, add TERM to system + env_whitelist, set argv[0] to '/bin/bash' and not 'runscript'. + 02 Sep 2005; Roy Marples : Fixed netplug from stopping on the wrong interface Index: src/env_whitelist =================================================================== --- src/env_whitelist (revision 1469) +++ src/env_whitelist (working copy) @@ -16,6 +16,7 @@ SHELL USER HOME +TERM # From /sbin/init PATH Index: src/runscript.c =================================================================== --- src/runscript.c (revision 1469) +++ src/runscript.c (working copy) @@ -213,7 +213,8 @@ char *caller = argv[1]; int new = 1; - myargs[0] = "runscript"; + /* Need to be /bin/bash, else BASH is invalid */ + myargs[0] = "/bin/bash"; while (argv[new] != 0) { myargs[new] = argv[new]; new++;