--- embedtools/src/cfexec.c 2009/11/12 11:51:50 1.1.1.1.2.3 +++ embedtools/src/cfexec.c 2010/10/19 14:01:45 1.1.1.1.2.5 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ - * $Id: cfexec.c,v 1.1.1.1.2.3 2009/11/12 11:51:50 misho Exp $ + * $Id: cfexec.c,v 1.1.1.1.2.5 2010/10/19 14:01:45 misho Exp $ * *************************************************************************/ #include "global.h" @@ -25,7 +25,7 @@ static void Usage() "\t-v\t\tVerbose ...\n" "\t-c \tAfter execute chroot to dir [default=/]\n" "\t-u \tAfter execute suid to user [default=root]\n" - "\t-d \tOther device [default=/dev/ufs/AITBSDonCF]\n" + "\t-d \tOther device [default=/dev/ufs/elwix]\n" "\t-m \tOther mount dir [default=/cf]\n" "\t-t \tTimeout for autolock mount dir after seconds [default=300]\n" "\n", compiled, compiledby, compilehost); @@ -239,7 +239,7 @@ int main(int argc, char **argv) if (strncmp(szUser, "root", 5)) setuser(); - chdir("/"); + /* chdir("/"); */ execvp(*argv, argv); } _exit(127);