aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2007-03-03 20:35:01 +0000
committerImre Kaloz <kaloz@openwrt.org>2007-03-03 20:35:01 +0000
commit662fde90774af7779c542c05f9402acb4ffcb297 (patch)
tree9eabb768e69d4881a8302a1a4b918f89be90837e /package/base-files
parent7b0de4ae45abb18db2093cd8ebc9dd6415fc361a (diff)
downloadupstream-662fde90774af7779c542c05f9402acb4ffcb297.tar.gz
upstream-662fde90774af7779c542c05f9402acb4ffcb297.tar.bz2
upstream-662fde90774af7779c542c05f9402acb4ffcb297.zip
R.I.P. devfs
SVN-Revision: 6478
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/files/etc/inittab2
-rw-r--r--package/base-files/files/etc/mdev.conf5
-rwxr-xr-xpackage/base-files/files/sbin/hotplug2
3 files changed, 8 insertions, 1 deletions
diff --git a/package/base-files/files/etc/inittab b/package/base-files/files/etc/inittab
index 39e134cb16..3d92717c9d 100644
--- a/package/base-files/files/etc/inittab
+++ b/package/base-files/files/etc/inittab
@@ -1,3 +1,3 @@
::sysinit:/etc/init.d/rcS
tts/0::askfirst:/bin/ash --login
-#tts/1::askfirst:/bin/ash --login
+ttyS0::askfirst:/bin/ash --login
diff --git a/package/base-files/files/etc/mdev.conf b/package/base-files/files/etc/mdev.conf
new file mode 100644
index 0000000000..89355830f0
--- /dev/null
+++ b/package/base-files/files/etc/mdev.conf
@@ -0,0 +1,5 @@
+null 0:0 777
+zero 0:0 666
+console 0:5 0600
+tty 0:5 0660
+ttyS* 0:20 640
diff --git a/package/base-files/files/sbin/hotplug b/package/base-files/files/sbin/hotplug
index b1b6f97b23..75d5170833 100755
--- a/package/base-files/files/sbin/hotplug
+++ b/package/base-files/files/sbin/hotplug
@@ -1,6 +1,8 @@
#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
+[ -x /sbin/mdev ] && /sbin/mdev "$@"
+
# bypass the normal hotplug path for firmware loading
# would otherwise cause problems with drivers like bcm43xx
[ "$1" = "firmware" -a "$ACTION" = "add" ] && {