18 lines
577 B
Bash
18 lines
577 B
Bash
#!/bin/sh
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
# Copyright (C) 2010 Vertical Communications
|
|
|
|
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
|
export PATH=/home/bin:/home/scripts:/opt/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/jamvm/bin:/opt/scripts
|
|
export LD_LIBRARY_PATH=/lib/public:/lib/private:/lib/gpl:/lib
|
|
|
|
# Generate device node
|
|
mount -t tmpfs -o noatime,mode=0755,size=512K tmpfs /dev
|
|
mount -t tmpfs -o noatime,mode=0755,size=512K tmpfs /tmp
|
|
sh /etc/init.d/makeDevs.sh
|
|
|
|
# Clean input/output
|
|
exec >/dev/console </dev/console 2>&1
|
|
exec /sbin/init </dev/console >/dev/console 2>&1
|
|
|