From patchwork Tue Dec 17 01:14:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Cercueil X-Patchwork-Id: 301972 X-Patchwork-Delegate: patrickdepinguin+buildroot@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 8A0ED2C00A8 for ; Tue, 17 Dec 2013 13:05:52 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 5E6EB8B1CD; Tue, 17 Dec 2013 02:05:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ye15FWC42oBq; Tue, 17 Dec 2013 02:05:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0816C8B1A3; Tue, 17 Dec 2013 02:05:48 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 5E83D1C2307 for ; Tue, 17 Dec 2013 02:05:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5B3648565F for ; Tue, 17 Dec 2013 02:05:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lc6l4IIR8blP for ; Tue, 17 Dec 2013 02:05:46 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from marvin.crapouillou.net (rev33.vpn.fdn.fr [80.67.179.33]) by whitealder.osuosl.org (Postfix) with ESMTPS id 94B8D85227 for ; Tue, 17 Dec 2013 02:05:46 +0000 (UTC) Received: from acaen-252-1-215-135.w86-215.abo.wanadoo.fr ([86.215.59.135] helo=debian.home) by marvin.crapouillou.net with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA256:128) (Exim 4.80) (envelope-from ) id 1VsjF6-0002Ha-Bh; Tue, 17 Dec 2013 02:14:36 +0100 From: Paul Cercueil To: buildroot@busybox.net Date: Tue, 17 Dec 2013 02:14:15 +0100 Message-Id: <1387242855-4882-1-git-send-email-paul@crapouillou.net> X-Mailer: git-send-email 1.8.5.1 Cc: Paul Cercueil Subject: [Buildroot] [PATCH] udev: Set the default action to "add" in the startup script X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Otherwise, when udev starts a lot of hardware will not be configured. Signed-Off-By: Paul Cercueil --- package/udev/S10udev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/udev/S10udev b/package/udev/S10udev index 2c7b7e9..fa669ea 100755 --- a/package/udev/S10udev +++ b/package/udev/S10udev @@ -30,7 +30,7 @@ case "$1" in echo -n "Populating ${udev_root:-/dev} using udev: " echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug $UDEV_BIN -d || (echo "FAIL" && exit 1) - udevadm trigger + udevadm trigger --action=add echo "done" ;; stop)