#! /bin/sh

set -e

got_iscsi=
for f in /etc/iscsi/*; do
	[ -e "$f" ] || continue
	got_iscsi=1
	break
done

if [ "$got_iscsi" ]; then
	# Copy the configuration to the target...
	cp -a /etc/iscsi /target/etc/
fi
