Browse Source

* 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
early
Nagy Karoly Gabriel 18 years ago
parent
commit
c82347597b
  1. 9
      base/sysvinit/rc.c

9
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 <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,

Loading…
Cancel
Save