]> git.ipfire.org Git - thirdparty/dracut.git/blame - test/TEST-30-ISCSI/client-init.sh
Renamed all shell scripts to *.sh
[thirdparty/dracut.git] / test / TEST-30-ISCSI / client-init.sh
CommitLineData
eeb72103 1#!/bin/sh
387bf82e 2export PATH=/sbin:/bin:/usr/sbin:/usr/bin
eeb72103
HH
3exec >/dev/console 2>&1
4export TERM=linux
5export PS1='initramfs-test:\w\$ '
6stty sane
7echo "made it to the rootfs! Powering down."
8while read dev fs fstype opts rest; do
9 [ "$fstype" != "ext2" ] && continue
10 echo "iscsi-OK $dev $fstype $opts" > /dev/sda
11 break
12done < /proc/mounts
13#sh -i
14poweroff -f