[interchange-cvs] interchange - heins modified scripts/restart.PL

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Sun Apr 27 12:57:50 UTC 2008


User:      heins
Date:      2008-04-27 12:57:50 GMT
Modified:  scripts  restart.PL
Log:
* Remove not-needed -f flag that conflicts with some versions of su.

* Fix text wrapped by someone with 132-column window.

Revision  Changes    Path
2.7                  interchange/scripts/restart.PL


rev 2.7, prev_rev 2.6
Index: restart.PL
===================================================================
RCS file: /var/cvs/interchange/scripts/restart.PL,v
retrieving revision 2.6
retrieving revision 2.7
diff -u -r2.6 -r2.7
--- restart.PL	9 Aug 2007 13:40:57 -0000	2.6
+++ restart.PL	27 Apr 2008 12:57:50 -0000	2.7
@@ -3,7 +3,7 @@
 #
 # Interchange restarter
 #
-# $Id: restart.PL,v 2.6 2007-08-09 13:40:57 pajamian Exp $
+# $Id: restart.PL,v 2.7 2008-04-27 12:57:50 mheins Exp $
 #
 # Copyright (C) 2002-2007 Interchange Development Group
 # Copyright (C) 1996-2002 Red Hat, Inc.
@@ -95,7 +95,7 @@
 If you are starting the server from /etc/rc.local or another
 startup file, you can use this:
 
-su -f -c $Global::VendBin/restart $name
+su -c $Global::VendBin/restart $name
 
 or if that fails:
 
@@ -121,7 +121,7 @@
 EOF
 EndOfExec
 	} else {
-		exec qq{su -f -c "$Global::VendBin/interchange $force -r" $name};
+		exec qq{su -c "$Global::VendBin/interchange $force -r" $name};
 	}
 } else {
 	exec qq{$Global::VendBin/interchange $force -r};
@@ -141,14 +141,11 @@
 
 =head1 DESCRIPTION
 
-The C<restart> script just tries to execute C<interchange> C<-r> with the proper permissions. If
-the user is "root", a prompt will be made to see if you want to start as the guessed
-user ID. (This is the contents of the $Global::VendRoot/_uid file.)
+The C<restart> script just tries to execute C<interchange> C<-r> with the proper permissions. If the user is "root", a prompt will be made to see if you want to start as the guessed user ID. (This is the contents of the $Global::VendRoot/_uid file.)
 
 =head1 OPTIONS
 
-The C<-f> flag prevents the prompt for superuser and forces quiet mode; this is how you might call Interchange from 
-a system startup script.
+The C<-f> flag prevents the prompt for superuser and forces quiet mode; this is how you might call Interchange from a system startup script.
 
 =head1 SEE ALSO
 







More information about the interchange-cvs mailing list