- #!/bin/bash
- date > /tmp/started
- { /bin/sleep 15; /usr/sbin/tgtadm --op update --mode sys --name State -v offline; /usr/sbin/tgt-admin -e -c /etc/tgt/tgtd.conf; /usr/sbin/tgtadm --op update --mode sys --name State -v ready; date > /tmp/finished; } &
- exec "$@"
|