[Glibc-bsd-commits] r2430 - trunk/freebsd-utils/debian
Aurelien Jarno
aurel32 at alioth.debian.org
Fri Apr 10 14:19:30 UTC 2009
Author: aurel32
Date: 2009-04-10 14:19:30 +0000 (Fri, 10 Apr 2009)
New Revision: 2430
Modified:
trunk/freebsd-utils/debian/changelog
trunk/freebsd-utils/debian/freebsd-utils.init
Log:
* /etc/init.d/freebsd-utils: mount /dev/fd, /proc and /sys if needed.
Modified: trunk/freebsd-utils/debian/changelog
===================================================================
--- trunk/freebsd-utils/debian/changelog 2009-04-10 14:10:40 UTC (rev 2429)
+++ trunk/freebsd-utils/debian/changelog 2009-04-10 14:19:30 UTC (rev 2430)
@@ -9,6 +9,7 @@
* Fix a few bashisms in debian/rules.
* Fix parallel build support in debian/rules.
* Bumped Standards-Version to 3.8.1 (no changes).
+ * /etc/init.d/freebsd-utils: mount /dev/fd, /proc and /sys if needed.
-- Aurelien Jarno <aurel32 at debian.org> Fri, 10 Apr 2009 16:08:03 +0200
Modified: trunk/freebsd-utils/debian/freebsd-utils.init
===================================================================
--- trunk/freebsd-utils/debian/freebsd-utils.init 2009-04-10 14:10:40 UTC (rev 2429)
+++ trunk/freebsd-utils/debian/freebsd-utils.init 2009-04-10 14:19:30 UTC (rev 2430)
@@ -92,7 +92,17 @@
rm -f /etc/mtab
fi
ln -sf /proc/mounts /etc/mtab
-
+
+ # Mount /dev/fd, /proc and /sys
+ if ! mount | grep -q "on /proc (linprocfs" ; then
+ mount -t linprocfs proc /proc
+ fi
+ if ! mount | grep -q "on /sys (linsysfs" ; then
+ mount -t linsysfs sys /sys
+ fi
+ if ! mount | grep -q "on /dev/fd (fdescfs" ; then
+ mount -t fdescfs fdescfs /dev/fd
+ fi
;;
stop|reload|restart|force-reload)
More information about the Glibc-bsd-commits
mailing list