__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/bin/sh
# kFreeBSD do not accept scripts as interpreters, using #!/bin/sh and sourcing.
if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then
set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
fi
### BEGIN INIT INFO
# Provides: iscsid
# Required-Start: $network $local_fs
# Required-Stop: $network $local_fs sendsigs
# Default-Start: S
# Default-Stop: 0 1 6
# Short-Description: iSCSI initiator daemon (iscsid)
# Description: The iSCSI initiator daemon takes care of
# monitoring iSCSI connections to targets. It is
# also the daemon providing the interface for the
# iscisadm tool to talk to when administering iSCSI
# connections.
### END INIT INFO
# Author: Christian Seiler <christian@iwakd.de>
DESC="iSCSI initiator daemon"
DAEMON=/usr/sbin/iscsid
PIDFILE=/run/iscsid.pid
OMITDIR=/run/sendsigs.omit.d
do_start_prepare() {
if ! /usr/lib/open-iscsi/startup-checks.sh ; then
exit 1
fi
}
do_start_cleanup() {
ln -sf $PIDFILE $OMITDIR
}
do_stop_override() {
# Don't stop iscsid if we're on initramfs or we had some
# excluded sessions. We could actually stop it, it's not
# required for the kernel to continue working with active
# sessions, but it also doesn't hurt to leave it running.
if [ -f /etc/iscsi/iscsi.initramfs ] ||
( [ -f /run/open-iscsi/shutdown-keep-sessions ] && [ -n "$(cat /run/open-iscsi/shutdown-keep-sessions)" ] )
then
return
fi
do_stop "$@"
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| K01iscsid | File | 1.48 KB | 0755 |
|
| K01open-iscsi | File | 2.41 KB | 0755 |
|
| S01apparmor | File | 3.65 KB | 0755 |
|
| S01cryptdisks | File | 937 B | 0755 |
|
| S01cryptdisks-early | File | 896 B | 0755 |
|
| S01keyboard-setup.sh | File | 1.45 KB | 0755 |
|
| S01kmod | File | 2 KB | 0755 |
|
| S01netfilter-persistent | File | 1.33 KB | 0755 |
|
| S01plymouth-log | File | 760 B | 0755 |
|
| S01procps | File | 959 B | 0755 |
|
| S01screen-cleanup | File | 1.19 KB | 0755 |
|
| S01ufw | File | 2.04 KB | 0644 |
|
| S01x11-common | File | 2.7 KB | 0755 |
|