]> git.ipfire.org Git - thirdparty/dracut.git/blame - test/TEST-20-NFS/client-init.sh
Renamed all shell scripts to *.sh
[thirdparty/dracut.git] / test / TEST-20-NFS / client-init.sh
CommitLineData
528277f3 1#!/bin/sh
387bf82e 2export PATH=/sbin:/bin:/usr/sbin:/usr/bin
528277f3
DD
3exec >/dev/console 2>&1
4export TERM=linux
5export PS1='initramfs-test:\w\$ '
6stty sane
7echo "made it to the rootfs! Powering down."
574f2965
DD
8while 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
12done < /proc/mounts
528277f3 13#sh -i
528277f3 14poweroff -f