diff options
author | Marcin Juszkiewicz <hrw@koansoftware.com> | 2008-12-30 15:54:58 +0100 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@koansoftware.com> | 2009-01-16 15:37:20 +0100 |
commit | 504311c49c8670f50af7ab32cf8f1b2fea102445 (patch) | |
tree | 2cd4d6c32fb9b2add5044ab617ac7c129eca9b5d /packages/busybox/files/mdev | |
parent | 533f0e2b68b1a8e89080922f4f49181e903123eb (diff) |
busybox: install mdev config and initscript
Diffstat (limited to 'packages/busybox/files/mdev')
-rwxr-xr-x | packages/busybox/files/mdev | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/busybox/files/mdev b/packages/busybox/files/mdev new file mode 100755 index 0000000000..6512730536 --- /dev/null +++ b/packages/busybox/files/mdev @@ -0,0 +1,12 @@ +#!/bin/sh + +mount -t sysfs sysfs /sys +mount -t tmpfs tmpfs /dev -o size=64k,mode=0755 + +mkdir /dev/pts /dev/shm + +mount -t devpts devpts /dev/pts + +echo "/bin/mdev" >/proc/sys/kernel/hotplug + +mdev -s |