|
|
@ -1,8 +1,9 @@ |
|
|
|
/* |
|
|
|
* --- T2-COPYRIGHT-NOTE-BEGIN --- |
|
|
|
* --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
|
|
* This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
* |
|
|
|
* T2 SDE: package/.../sysvinit/rc.c |
|
|
|
* Filename: package/.../sysvinit/rc.c |
|
|
|
* Copyright (C) 2007 The OpenSDE Project |
|
|
|
* Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
* Copyright (C) 1998 - 2003 Clifford Wolf |
|
|
|
* |
|
|
@ -12,7 +13,7 @@ |
|
|
|
* it under the terms of the GNU General Public License as published by |
|
|
|
* the Free Software Foundation; version 2 of the License. A copy of the |
|
|
|
* GNU General Public License can be found in the file COPYING. |
|
|
|
* --- T2-COPYRIGHT-NOTE-END --- |
|
|
|
* --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
*/ |
|
|
|
|
|
|
|
#include <errno.h> |
|
|
@ -33,7 +34,7 @@ char env_RUNLEVEL[100]="RUNLEVEL=N"; |
|
|
|
char env_TERM[100]="TERM=linux"; |
|
|
|
|
|
|
|
char * clean_env[] = { |
|
|
|
"PATH=/bin:/usr/bin", |
|
|
|
"PATH=/bin:/usr/bin:/sbin:/usr/sbin", |
|
|
|
env_PREVLEVEL, |
|
|
|
env_RUNLEVEL, |
|
|
|
env_TERM, |
|
|
|