ifcfg-rh: change iscsiadm path to /sbin/iscsiadm (rh #740753)

Using SBINDIR appears to be wrong as it expands to /usr/sbin.
This commit is contained in:
Jiří Klimeš 2011-09-26 15:51:49 +02:00
parent 7e96da83e7
commit f44959890b

View file

@ -3382,7 +3382,7 @@ connection_from_file (const char *filename,
network_file = SYSCONFDIR "/sysconfig/network";
if (!iscsiadm_path)
iscsiadm_path = SBINDIR "/iscsiadm";
iscsiadm_path = "/sbin/iscsiadm";
ifcfg_name = utils_get_ifcfg_name (filename, TRUE);
if (!ifcfg_name) {