Commit 4f413ed0 authored by Ulf Samuelsson's avatar Ulf Samuelsson
Browse files

Update NGW100 skeleton

parent b09a24d3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
# /etc/fstab: static file system information.
#
# <file system>	<mount pt>	<type>		<options>	<dump>	<pass>
/dev/mtdblock3	/usr		jffs2		defaults	0	0
+2 −0
Original line number Diff line number Diff line
@@ -5,7 +5,9 @@ sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
kmem:x:9:
wheel:x:10:root
dialout:x:20:
utmp:x:43:
staff:x:50:
www-data::51:
+0 −3
Original line number Diff line number Diff line
@@ -58,9 +58,6 @@ if mount_fs dev /dev tmpfs "size=512k,mode=0755"; then
	mkdir_fs /dev/pts
	mount_fs pts /dev/pts devpts
	mkdir_fs /dev/shm
	# Hack to enable mouse support when using buildroot mdev
	ln -s . /dev/input
	ln -s . /dev/snd
fi

mount_fs config /config configfs
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

INETD=/usr/sbin/inetd

echo -n "Starting inted: "
echo -n "Starting inetd: "
if [ ! -x "${INETD}" ]; then
	echo "missing"
	exit 1
+49 −0
Original line number Diff line number Diff line
# mdev.conf for ATNGW100
#
# Syntax:
#  <regexp> <UID>:<GID> <PERM> [{@,$,*} <CMD>]
#    @: run <CMD> after creating
#    $: run <CMD> before removal
#    *: like @ and $ at the same time
#    <CMD> is run inside /dev using system()

full	0:0	666
null	0:0	777
zero	0:0	666

random	0:0	444
urandom	0:0	444

console	0:5	0600
kmem	0:9	000
mem	0:9	0640
ptmx	0:5	0660

sda.*	0:6	0660
sdb.*	0:6	0660
hda.*	0:6	0660
hdb.*	0:6	0660
mtd.*	0:6	0660
mmc.*	0:6	0660

# Move input devices to input directory
event.*	0:0	0660	@(mkdir -p input&&mv $MDEV input)
mice	0:0	0660	@(mkdir -p input&&mv $MDEV input)
mouse.*	0:0	0660	@(mkdir -p input&&mv $MDEV input)

# Move sound devices to sound directory
pcm.*		0:101	0660	@(mkdir -p snd&&mv $MDEV snd)
seq		0:101	0660	@(mkdir -p snd&&mv $MDEV snd)
timer		0:101	0660	@(mkdir -p snd&&mv $MDEV snd)
control.*	0:101	0660	@(mkdir -p snd&&mv $MDEV snd)

tty	0:5	0660
tty0.*	0:5	0660
tty1.*	0:5	0660
tty2.*	0:5	0660
tty3.*	0:5	0660
tty4.*	0:5	0660
tty5.*	0:5	0660
tty6.*	0:5	0660

ttyS.*	0:20	640
Loading