From c82347597bf526fd5a891dea4e96de3b38443b79 Mon Sep 17 00:00:00 2001 From: Nagy Karoly Gabriel Date: Thu, 24 May 2007 22:04:36 +0000 Subject: [PATCH] * added "/sbin:/usr/sbin" to the rc.c PATH variable. git-svn-id: svn://svn.opensde.net/opensde/package/trunk@21136 10447126-35f2-4685-b0cf-6dd780d3921f --- base/sysvinit/rc.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/base/sysvinit/rc.c b/base/sysvinit/rc.c index 15acabeba..f6f1e0275 100644 --- a/base/sysvinit/rc.c +++ b/base/sysvinit/rc.c @@ -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 @@ -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,