source: freewrt/package/base-files/files/etc/preinit@ 03abecc

freewrt_2_0
Last change on this file since 03abecc was 03abecc, checked in by Waldemar Brodkorb <wbx@…>, 4 months ago

fix failsafe mode, use modern buttons and leds support

  • Property mode set to 100755
File size: 290 bytes
Line 
1#!/bin/sh
2export PATH=/bin:/sbin:/usr/bin:/usr/sbin
3mount none /proc -t proc
4mount none /sys -t sysfs
5mkdir -p /dev/pts
6mount none /dev/pts -t devpts
7[ -f /etc/preinit.arch ] && . /etc/preinit.arch
8failsafe || /bin/sh
9cat /etc/.rnd >/dev/urandom 2>&1
10mount_root
11fwcf setup
12exec /sbin/init
Note: See TracBrowser for help on using the repository browser.