diff options
Diffstat (limited to 'testing/open-iscsi/iscsid-2.0.871-r1.init.d')
-rw-r--r-- | testing/open-iscsi/iscsid-2.0.871-r1.init.d | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/open-iscsi/iscsid-2.0.871-r1.init.d b/testing/open-iscsi/iscsid-2.0.871-r1.init.d index 2646dd5ebf..060eb9b596 100644 --- a/testing/open-iscsi/iscsid-2.0.871-r1.init.d +++ b/testing/open-iscsi/iscsid-2.0.871-r1.init.d @@ -101,7 +101,7 @@ stop() { starttargets() { ebegin "Setting up iSCSI targets" - /usr/sbin/iscsiadm -m node --loginall=automatic + /usr/bin/iscsiadm -m node --loginall=automatic ret=$? eend $ret return $ret @@ -110,7 +110,7 @@ starttargets() { stoptargets() { ebegin "Disconnecting iSCSI targets" sync - /usr/sbin/iscsiadm -m node --logoutall=all + /usr/bin/iscsiadm -m node --logoutall=all ret=$? eend $ret return $ret @@ -123,5 +123,5 @@ restarttargets() { status() { ebegin "Showing current active iSCSI sessions" - /usr/sbin/iscsiadm -m session + /usr/bin/iscsiadm -m session } |