Skip to content

Commit

Permalink
iscsi: remove last iscsid code snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
haraldh committed Jan 12, 2018
1 parent cc38081 commit 8b4b7dc
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions modules.d/95iscsi/iscsiroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -219,14 +219,6 @@ if [ "$netif" != "timeout" ] && getargbool 1 rd.iscsi.waitnet; then
all_ifaces_setup || exit 0
fi

if [ "$netif" = "timeout" ] && all_ifaces_setup; then
# s.th. went wrong and the timeout script hits
# restart
systemctl restart iscsid
# damn iscsid is not ready after unit says it's ready
sleep 2
fi

if getargbool 0 rd.iscsi.firmware -d -y iscsi_firmware ; then
if [ "$netif" = "timeout" ] || [ "$netif" = "online" ]; then
handle_firmware
Expand Down

0 comments on commit 8b4b7dc

Please sign in to comment.