diff options
author | Roy Marples <roy@marples.name> | 2009-01-13 11:02:00 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2009-01-13 11:02:00 +0000 |
commit | abcc4c5c72147a16b8710392112e4a07c3ed4b55 (patch) | |
tree | a51853543ec80a94727a2535b95f0fb013003e09 /src/rc/rc-misc.c | |
parent | fcf1cce549542bc6948c8b808becbd5933f15bf4 (diff) |
Don't allow SYSVINIT parameters through anymore.
RC_REBOOT is now yes when rebooting.
Document the special reboot runlevel.
Diffstat (limited to 'src/rc/rc-misc.c')
-rw-r--r-- | src/rc/rc-misc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rc/rc-misc.c b/src/rc/rc-misc.c index 58af1418..0d9511f3 100644 --- a/src/rc/rc-misc.c +++ b/src/rc/rc-misc.c @@ -112,11 +112,10 @@ rc_conf_yesno(const char *setting) } static const char *const env_whitelist[] = { - "PATH", "SHELL", "USER", "HOME", "TERM", + "CONSOLE", "PATH", "SHELL", "USER", "HOME", "TERM", "LANG", "LC_CTYPE", "LC_NUMERIC", "LC_TIME", "LC_COLLATE", "LC_MONETARY", "LC_MESSAGES", "LC_PAPER", "LC_NAME", "LC_ADDRESS", "LC_TELEPHONE", "LC_MEASUREMENT", "LC_IDENTIFICATION", "LC_ALL", - "INIT_HALT", "INIT_VERSION", "RUNLEVEL", "PREVLEVEL", "CONSOLE", "IN_HOTPLUG", "IN_BACKGROUND", "RC_INTERFACE_KEEP_CONFIG", NULL }; |