From kde-devel Tue Feb 22 04:40:10 2005 From: "Mark A. Taff" Date: Tue, 22 Feb 2005 04:40:10 +0000 To: kde-devel Subject: Re: Where is your GRUB executable? Message-Id: <200502212040.18182.marktaff () comcast ! net> X-MARC-Message: https://marc.info/?l=kde-devel&m=110904716703254 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0403401594==" --===============0403401594== Content-Type: multipart/signed; boundary="nextPart5580897.7IEd8K4qCh"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart5580897.7IEd8K4qCh Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 21 February 2005 05:07, Michael Nottebrock wrote: > On Monday, 21. February 2005 03:11, Mark A. Taff wrote: > > All, > > I am about to update my program GRUB NextBoot (kde-apps.org). The > > script tries to find the grub executable in a few hard-coded locations, > > then tries with `locate`, and finally defaults to just `grub`. > > > > Before I update this script, do any of you have your grub executable > > anywhere besides: > > /usr/sbin/grub > > /usr/bin/grub > > /sbin/grub > > /usr/local/sbin/grub. Btw - how about defaulting to 'env grub' ? This will > always work if grub (and env) are in PATH. The routine that finds grub runs as a user, and at least on my SuSE box, gr= ub=20 is only in root's path. Part of the purpose of the function is to make sur= e=20 grub is actually installed. In this routine, I don't actually run grub, I= =20 just want to make sure it is there and is executable by root. Thanks for t= he=20 extra grub path. =2D-=20 Mark A. Taff --nextPart5580897.7IEd8K4qCh Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBCGreyamDsr9gWURwRAi5NAJ4kD6DoNlWjMOY+z4cv2NjRqYvutACdFrE7 d86UxFAVW0LRLSdQnnuVVq8= =rVmQ -----END PGP SIGNATURE----- --nextPart5580897.7IEd8K4qCh-- --===============0403401594== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============0403401594==--