Iscsi init script

#!/bin/bash
### BEGIN INIT INFO

case “$1” in
start)
echo -n “connecting to iscsi target”
iscsiadm -m node –targetname iqn.2004-04.com.qnap:ts-1279u-rp:iscsi.connector.cb4616 –portal 192.168.1.1 –login

sleep 10

mount /home/connector

weiterlesen …