summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/preinit
blob: c60a0f850f6e7f8e57b0dad94fc95732f1d6bbc0 (plain)
1
2
3
4
5
6
#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
[ -e /etc/preinit.arch ] && . /etc/preinit.arch
mount_root ${FAILSAFE:+failsafe}
exec /sbin/init