source:
freewrt/package/base-files/default/etc/preinit@
9df7618
| Last change on this file since 9df7618 was 475ad56, checked in by , 20 years ago | |
|---|---|
|
|
| File size: 285 bytes | |
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | export PATH=/bin:/sbin:/usr/bin:/usr/sbin |
| 3 | mount none /proc -t proc |
| 4 | |
| 5 | [ -f /etc/preinit.arch ] && . /etc/preinit.arch |
| 6 | [ -z "$FAILSAFE" ] || { |
| 7 | echo /bin/true > /proc/sys/kernel/hotplug |
| 8 | telnetd -l /bin/login <> /dev/null 2>&1 |
| 9 | } |
| 10 | mount_root ${FAILSAFE:+failsafe} |
| 11 | exec /sbin/init |
Note:
See TracBrowser
for help on using the repository browser.
