eventscripts: Rework the iSCSI eventscript
authorMartin Schwenke <martin@meltin.net>
Thu, 17 Oct 2013 05:44:24 +0000 (16:44 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 22 Oct 2013 03:34:05 +0000 (14:34 +1100)
commit45e2bc66abf9fcfeadcc279a656ed7fd1838920a
tree94f399307158b65768746550d3930a448b80d7b5
parent1152215fc69217e4292762e28d193b7ea0e06ee3
eventscripts: Rework the iSCSI eventscript

* It should run on "ipreallocated" instead of "recovered"
* Variable name NODE -> ip since that's what it is
* Simplify some logic

Signed-off-by: Martin Schwenke <martin@meltin.net>
config/events.d/70.iscsi