[Glibc-bsd-commits] r1396 - trunk/freebsd-utils/debian

Robert Millan rmh at costa.debian.org
Wed Mar 29 13:20:55 UTC 2006


Author: rmh
Date: 2006-03-29 13:20:54 +0000 (Wed, 29 Mar 2006)
New Revision: 1396

Modified:
   trunk/freebsd-utils/debian/changelog
   trunk/freebsd-utils/debian/kldutils.init.d
Log:
Fix absolute path assumption in kldutils.init.d.

Modified: trunk/freebsd-utils/debian/changelog
===================================================================
--- trunk/freebsd-utils/debian/changelog	2006-03-26 17:10:13 UTC (rev 1395)
+++ trunk/freebsd-utils/debian/changelog	2006-03-29 13:20:54 UTC (rev 1396)
@@ -5,8 +5,9 @@
     kbdcontrol are enabled).
   * Fix swapctl (by using libfreebsd functions).
   * control (freebsd-utils): Remove dependency on kldutils and ufsutils.
+  * Fix absolute path assumption in kldutils.init.d.
 
- -- Robert Millan <rmh at aybabtu.com>  Tue, 21 Mar 2006 12:17:56 +0100
+ -- Robert Millan <rmh at aybabtu.com>  Wed, 29 Mar 2006 15:20:44 +0200
 
 freebsd-utils (5.4+1-0.1) unreleased; urgency=low
 

Modified: trunk/freebsd-utils/debian/kldutils.init.d
===================================================================
--- trunk/freebsd-utils/debian/kldutils.init.d	2006-03-26 17:10:13 UTC (rev 1395)
+++ trunk/freebsd-utils/debian/kldutils.init.d	2006-03-29 13:20:54 UTC (rev 1396)
@@ -12,7 +12,7 @@
 
 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
 for i in load stat unload ; do
-  test -x /sbin/kld$i || exit 1
+  which kld$i || exit 1
 done
 modules="`shopt -s nullglob ; cat /etc/modules /etc/modules.d/* \
   | sed -e \"s/#.*//g\" -e \"/^\( \|\t\)*$/d\" | sort | uniq`"




More information about the Glibc-bsd-commits mailing list