PERFORCE change 18096 for review

Adam Migus amigus at freebsd.org
Wed Sep 25 01:01:35 GMT 2002


http://people.freebsd.org/~peter/p4db/chv.cgi?CH=18096

Change 18096 by amigus at amigus_ganymede on 2002/09/24 18:01:04

	install new script.

Affected files ...

.. //depot/projects/trustedbsd/misc/kmlsinstall/kmlsinstaller.cc#7 edit

Differences ...

==== //depot/projects/trustedbsd/misc/kmlsinstall/kmlsinstaller.cc#7 (text+ko) ====

@@ -270,6 +270,13 @@
 		fprintf(stderr, "\'%s\' returned %d\n", sysbuf, error);
 	memset(sysbuf, NULL, sizeof (sysbuf));
 	p = sysbuf;
+	p = strcat(p, "install -m 555 -o root -g wheel ");
+	p = strcat(p, "mac_user_label.pl /usr/local/sbin");
+	error = system(sysbuf);
+	if (error)
+		fprintf(stderr, "\'%s\' returned %d\n", sysbuf, error);
+	memset(sysbuf, NULL, sizeof (sysbuf));
+	p = sysbuf;
 	p = strcat(p, "touch /etc/.mac_installed");
 	error = system(sysbuf);
 	if (error)
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list