diff options
Diffstat (limited to 'network/iscsitarget/doinst.sh')
-rw-r--r-- | network/iscsitarget/doinst.sh | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/network/iscsitarget/doinst.sh b/network/iscsitarget/doinst.sh index 09c804906d..9ff0023984 100644 --- a/network/iscsitarget/doinst.sh +++ b/network/iscsitarget/doinst.sh @@ -20,10 +20,17 @@ else # Install executable otherwise - irrelevant unless user starts in rc.local chmod 0755 etc/rc.d/rc.iscsi-target.new fi + +if [ -f /etc/ietd.conf ];then +echo -en "\n\n\n!! iSCSI-target has recently changed the default location for conf files !!\n" +echo -en "The new location for conf files is now at /etc/iet\n" +echo -en "Furthermore the conf file initiators.deny is obsolete. \nFor futher info read the Man page\n\n\n" +fi + config etc/rc.d/rc.iscsi-target.new -config etc/initiators.deny.new -config etc/initiators.allow.new -config etc/ietd.conf.new +config etc/iet/ietd.conf.new +config etc/iet/targets.allow.new +config etc/iet/initiators.allow.new chroot . depmod -a @KERNEL@ 2>/dev/null 1>/dev/null |