source: freewrt/package/base-files/files/etc/preinit@ bc4f4ce

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

base-files: mount sysfs in preinit

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