[base-files/generic] update the /init file to start /sbin/init
[openwrt.git] / package / base-files / files / lib / preinit / 60_init_hotplug
1 #!/bin/sh
2 # Copyright (C) 2006 OpenWrt.org
3 # Copyright (C) 2010 Vertical Communications
4
5 init_hotplug() {
6    echo "$HOTPLUG" > /proc/sys/kernel/hotplug
7 }
8
9 boot_hook_add preinit_main init_hotplug
10