commit 8b8b7a58139341c599021d1609217ab8a0c121e3
parent a1fa13ad58867c610bdd05ae12b2d5d47a459530
Author: sin <sin@2f30.org>
Date: Thu, 22 Aug 2013 16:59:30 +0100
Add simevent and register smdev as the default hotplug hook
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/suckless-initramfs b/suckless-initramfs
@@ -68,6 +68,7 @@ for i in $(find ubase/ -not -iwholename "*.git*" -perm 755); do
cp "$i" initramfs/bin
done
cp smdev/smdev initramfs/bin/smdev
+cp smdev/simevent initramfs/bin/simevent
cp mksh/mksh initramfs/bin/mksh
# Create symlink for /bin/sh -> mksh
@@ -91,8 +92,7 @@ export PATH=/bin:/sbin
mount -t sysfs sysfs /sys
mount -t proc proc /proc
-echo /bin/hotplug > /proc/sys/kernel/hotplug
-smdev -s
+echo /bin/smdev > /proc/sys/kernel/hotplug
hostname suckless
while :; do