From ba001ff8a4665112196a802cf2ff25f93ac56d5b Mon Sep 17 00:00:00 2001 From: xSmurf Date: Thu, 24 Sep 2015 00:10:59 +0000 Subject: [PATCH] Remove autodev start and moved to default hotplug path --- .../rootfs-additions/etc/init.d/S10autodev | 33 ------------------- .../sbin/autoload_modules => sbin/hotplug} | 0 2 files changed, 33 deletions(-) delete mode 100755 board/coreboot/rootfs-additions/etc/init.d/S10autodev rename board/coreboot/rootfs-additions/{opt/sbin/autoload_modules => sbin/hotplug} (100%) diff --git a/board/coreboot/rootfs-additions/etc/init.d/S10autodev b/board/coreboot/rootfs-additions/etc/init.d/S10autodev deleted file mode 100755 index 38f15a0..0000000 --- a/board/coreboot/rootfs-additions/etc/init.d/S10autodev +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh -# -# Start autodev -# - -do_start() { - echo "Starting module autoload..." - echo /opt/sbin/autoload_modules > /proc/sys/kernel/hotplug - /opt/sbin/autoload_modules -} - -do_stop() { - echo > /proc/sys/kernel/hotplug -} - -case "$1" in - start) - do_start; - ;; - stop) - do_stop; - ;; - restart|reload) - do_stop; - sleep 2; - do_start; - ;; - *) - echo "Usage: $0 {start|restart|stop}" - exit 1 -esac - -exit $? diff --git a/board/coreboot/rootfs-additions/opt/sbin/autoload_modules b/board/coreboot/rootfs-additions/sbin/hotplug similarity index 100% rename from board/coreboot/rootfs-additions/opt/sbin/autoload_modules rename to board/coreboot/rootfs-additions/sbin/hotplug