iscsi-initiator-utils/04-iscsi
Chris Leech 6c1aaf9981 switch to using system unit files instead of initrd script
new nm dispatcher script that uses systemctl
use systemctl in iscsi.conf to start iscsid on demand
2013-01-22 15:16:38 -08:00

8 lines
104 B
Bash
Executable File

#!/bin/sh
case "$2" in
up|down|vpn-up|vpn-down)
/bin/systemctl try-restart iscsi.service || :
;;