Date: Friday June 21, 2002 @ 2:42 Author: cameron Update of /home/netrek/cvsroot/Vanilla/newstartd In directory swashbuckler.real-time.com:/var/tmp/cvs-serv28453/newstartd Modified Files: newstartd.c Log Message: init.d style args **************************************** Index: Vanilla/newstartd/newstartd.c diff -u Vanilla/newstartd/newstartd.c:1.19 Vanilla/newstartd/newstartd.c:1.20 --- Vanilla/newstartd/newstartd.c:1.19 Tue May 1 21:00:19 2001 +++ Vanilla/newstartd/newstartd.c Fri Jun 21 02:42:27 2002 @@ -1,7 +1,7 @@ -/* $Id: newstartd.c,v 1.19 2001/05/02 02:00:19 cameron Exp $ */ +/* $Id: newstartd.c,v 1.20 2002/06/21 07:42:27 cameron Exp $ */ #ifndef lint -static char vcid[] = "$Id: newstartd.c,v 1.19 2001/05/02 02:00:19 cameron Exp $"; +static char vcid[] = "$Id: newstartd.c,v 1.20 2002/06/21 07:42:27 cameron Exp $"; #endif /* lint */ /* @@ -206,7 +206,11 @@ } /* allow user to specify a port file to use */ - if (argc == 2) portfile = argv[1]; + if (argc == 2) { + if (strcmp (argv[1], "start")) { + portfile = argv[1]; + } + } /* allow developer to ask for verbose output */ if (argc == 3 && !strcmp(argv[2], "debug")) debug++;