8 lines
108 B
Bash
Executable File
8 lines
108 B
Bash
Executable File
#!/bin/sh
|
|
|
|
case "$2" in
|
|
up|down|vpn-up|vpn-down)
|
|
/bin/systemctl try-restart iscsi.service || :
|
|
;;
|
|
esac
|