]>
git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - iscsi-initiator-utils/04-iscsi
5 if [ "$2" = "down" ]; then
6 if ! /sbin
/ip route
ls |
grep -q ^default
&&
7 [ -f /var
/lock
/subsys
/iscsi
]; then
8 /etc
/rc.d
/init.d
/iscsi stop
12 if [ "$2" = "up" ]; then
13 if /sbin
/ip
-o route show dev
"$1" |
grep -q '^default' &&
14 /sbin
/chkconfig iscsi
; then
15 /etc
/rc.d
/init.d
/iscsi start