6c1aaf9981
new nm dispatcher script that uses systemctl use systemctl in iscsi.conf to start iscsid on demand
8 lines
104 B
Bash
Executable File
8 lines
104 B
Bash
Executable File
#!/bin/sh
|
|
|
|
case "$2" in
|
|
up|down|vpn-up|vpn-down)
|
|
/bin/systemctl try-restart iscsi.service || :
|
|
;;
|
|
|