mirror of https://github.com/hak5/openwrt-owl.git
parent
6cfc172b61
commit
2266aad2ec
|
@ -32,7 +32,7 @@ start() {
|
||||||
/usr/bin/env -i ACTION=add INTERFACE="$iface" /sbin/hotplug-call net
|
/usr/bin/env -i ACTION=add INTERFACE="$iface" /sbin/hotplug-call net
|
||||||
done
|
done
|
||||||
|
|
||||||
/sbin/hotplug2 --persistent &
|
/sbin/hotplug2 --persistent --max-children 1 &
|
||||||
echo /sbin/hotplug-call > /proc/sys/kernel/hotplug
|
echo /sbin/hotplug-call > /proc/sys/kernel/hotplug
|
||||||
|
|
||||||
load_modules /etc/modules.d/*
|
load_modules /etc/modules.d/*
|
||||||
|
|
|
@ -13,7 +13,7 @@ else
|
||||||
mknod /dev/console c 5 1
|
mknod /dev/console c 5 1
|
||||||
exec >/dev/console </dev/console 2>&1
|
exec >/dev/console </dev/console 2>&1
|
||||||
mkdir /dev/shm
|
mkdir /dev/shm
|
||||||
/sbin/hotplug2 --no-persistent --coldplug --max-children 3
|
/sbin/hotplug2 --no-persistent --coldplug --max-children 1
|
||||||
fi
|
fi
|
||||||
mkdir -p /dev/pts
|
mkdir -p /dev/pts
|
||||||
mount none /dev/pts -t devpts
|
mount none /dev/pts -t devpts
|
||||||
|
|
|
@ -36,7 +36,7 @@ else
|
||||||
mount -t tmpfs tmpfs /dev -o size=512K
|
mount -t tmpfs tmpfs /dev -o size=512K
|
||||||
mknod /dev/console c 5 1
|
mknod /dev/console c 5 1
|
||||||
mkdir /dev/shm
|
mkdir /dev/shm
|
||||||
/sbin/hotplug2 --no-persistent --coldplug
|
/sbin/hotplug2 --no-persistent --coldplug --max_children 1
|
||||||
M0=/dev/ptmx
|
M0=/dev/ptmx
|
||||||
M1=/dev/ptmx
|
M1=/dev/ptmx
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -12,7 +12,7 @@ else
|
||||||
mknod /dev/console c 5 1
|
mknod /dev/console c 5 1
|
||||||
mkdir /dev/pts
|
mkdir /dev/pts
|
||||||
mkdir /dev/shm
|
mkdir /dev/shm
|
||||||
/sbin/hotplug2 --no-persistent --coldplug
|
/sbin/hotplug2 --no-persistent --coldplug --max_children 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mount none /dev/pts -t devpts
|
mount none /dev/pts -t devpts
|
||||||
|
|
Loading…
Reference in New Issue