]>
Commit | Line | Data |
---|---|---|
528277f3 | 1 | #!/bin/sh |
387bf82e | 2 | export PATH=/sbin:/bin:/usr/sbin:/usr/bin |
528277f3 DD |
3 | exec >/dev/console 2>&1 |
4 | export TERM=linux | |
5 | export PS1='initramfs-test:\w\$ ' | |
6 | stty sane | |
7 | echo "made it to the rootfs! Powering down." | |
574f2965 DD |
8 | while read dev fs fstype opts rest; do |
9 | [ "$fstype" != "nfs" -a "$fstype" != "nfs4" ] && continue | |
10 | echo "nfs-OK $dev $fstype $opts" > /dev/sda | |
11 | break | |
12 | done < /proc/mounts | |
528277f3 | 13 | #sh -i |
528277f3 | 14 | poweroff -f |