Subject: bbconf patch
To: None <tech-pkg@NetBSD.org>
From: Tonnerre <tonnerre@thundrix.ch>
List: tech-pkg
Date: 05/26/2005 19:59:12
--A6N2fC+uXW/VQSAv
Content-Type: multipart/mixed; boundary="r5Pyd7+fXNt84Ff3"
Content-Disposition: inline


--r5Pyd7+fXNt84Ff3
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline

Salut,

As the bbconf team itself puts it, using killall to notify blackbox
is a bad idea. This patch makes it use pkill itself, which actually
exists on NetBSD.

			Tonnerre

--r5Pyd7+fXNt84Ff3
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: attachment; filename=patch-ag

--- bbconf/plugins/themes/themes.cc~	2005-05-26 19:55:12.000000000 +0200
+++ bbconf/plugins/themes/themes.cc	2005-05-26 19:55:53.000000000 +0200
@@ -144,7 +144,7 @@
 		// tell blackbox to reconfigure with the settings we just saved
 		// erm. big HONKING note--we need to do this better, since on some
 		// systems, killall actually does an init 0
-		system("killall -HUP blackbox");
+		system("pkill -HUP blackbox");
 	}
 	return saved;
 }

--r5Pyd7+fXNt84Ff3--

--A6N2fC+uXW/VQSAv
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iD8DBQFClg5wXUVlAbfmNMIRAm0PAJ0X7IRpScKSES0FmiR1FHrU1a8R9ACdGeCc
lGflpZzCYm5aUVZxx+FRNUg=
=3wXg
-----END PGP SIGNATURE-----

--A6N2fC+uXW/VQSAv--