[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH 3/5] appliance: Use 'service udev start' instead of running init script



This patch is not necessary for Ubuntu support, but it seems better to
run 'service udev start' instead of the init script directly.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
>From 26e35f0690aaad0d64dd8f0a81ebd90377c826b2 Mon Sep 17 00:00:00 2001
From: Richard Jones <rjones ubuntu910x64 home annexia org>
Date: Mon, 21 Dec 2009 15:54:00 +0000
Subject: [PATCH 3/5] appliance: Use 'service udev start' instead of running init script.

---
 appliance/init |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/appliance/init b/appliance/init
index b741a49..75eb03e 100755
--- a/appliance/init
+++ b/appliance/init
@@ -8,7 +8,7 @@ mount -t proc /proc /proc
 mount -t sysfs /sys /sys
 
 if [ -x /etc/init.d/udev ]; then
-  /etc/init.d/udev start
+  service udev start
 elif [ -x /sbin/start_udev ] && /sbin/start_udev; then
   :
 else
-- 
1.6.3.3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]