1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2022-11-27 10:16:14 +00:00

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