__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/bin/sh
# This script is called by "systemctl enable/disable" when the given unit is a
# SysV init.d script. It needs to call the distribution's mechanism for
# enabling/disabling those, such as chkconfig, update-rc.d, or similar. This
# can optionally take a --root argument for enabling a SysV init script
# in a chroot or similar.
set -eu
usage() {
echo "Usage: $0 [--root=path] enable|disable|is-enabled <sysv script name>" >&2
exit 1
}
ROOT=
# parse options
eval set -- "$(getopt -o r: --long root: -- "$@")"
while true; do
case "$1" in
-r|--root)
ROOT="$2"
shift 2 ;;
--) shift ; break ;;
*) usage ;;
esac
done
NAME="${2:-}"
run() {
if [ -n "$ROOT" ] && [ "$ROOT" != "/" ]; then
_SKIP_SYSTEMD_NATIVE=1 chroot "$ROOT" /usr/sbin/update-rc.d "$@"
else
_SKIP_SYSTEMD_NATIVE=1 /usr/sbin/update-rc.d "$@"
fi
}
[ -n "$NAME" ] || usage
case "$1" in
enable)
# call the command to enable SysV init script $NAME here..
run "$NAME" defaults
run "$NAME" enable
;;
disable)
run "$NAME" defaults
run "$NAME" disable
;;
is-enabled)
# exit with 0 if $NAME is enabled, non-zero if it is disabled
ls "$ROOT"/etc/rc[S5].d/S??"$NAME" >/dev/null 2>&1
;;
*)
usage ;;
esac
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| catalog | Folder | 0755 |
|
|
| journald.conf.d | Folder | 0755 |
|
|
| logind.conf.d | Folder | 0755 |
|
|
| network | Folder | 0755 |
|
|
| ntp-units.d | Folder | 0755 |
|
|
| repart | Folder | 0755 |
|
|
| system | Folder | 0755 |
|
|
| system-environment-generators | Folder | 0755 |
|
|
| system-generators | Folder | 0755 |
|
|
| system-preset | Folder | 0755 |
|
|
| system-shutdown | Folder | 0755 |
|
|
| system-sleep | Folder | 0755 |
|
|
| user | Folder | 0755 |
|
|
| user-environment-generators | Folder | 0755 |
|
|
| user-generators | Folder | 0755 |
|
|
| user-preset | Folder | 0755 |
|
|
| lxd-agent-setup | File | 1.26 KB | 0755 |
|
| resolv.conf | File | 710 B | 0644 |
|
| systemd | File | 98.45 KB | 0755 |
|
| systemd-backlight | File | 34.45 KB | 0755 |
|
| systemd-battery-check | File | 18.45 KB | 0755 |
|
| systemd-binfmt | File | 22.45 KB | 0755 |
|
| systemd-boot-check-no-failures | File | 14.45 KB | 0755 |
|
| systemd-bsod | File | 22.45 KB | 0755 |
|
| systemd-cgroups-agent | File | 14.37 KB | 0755 |
|
| systemd-cryptsetup | File | 78.95 KB | 0755 |
|
| systemd-executor | File | 134.56 KB | 0755 |
|
| systemd-fsck | File | 26.38 KB | 0755 |
|
| systemd-fsckd | File | 26.45 KB | 0755 |
|
| systemd-growfs | File | 22.45 KB | 0755 |
|
| systemd-hibernate-resume | File | 22.56 KB | 0755 |
|
| systemd-hostnamed | File | 46.47 KB | 0755 |
|
| systemd-initctl | File | 22.45 KB | 0755 |
|
| systemd-integritysetup | File | 22.52 KB | 0755 |
|
| systemd-journald | File | 189.13 KB | 0755 |
|
| systemd-localed | File | 54.47 KB | 0755 |
|
| systemd-logind | File | 278.58 KB | 0755 |
|
| systemd-makefs | File | 14.37 KB | 0755 |
|
| systemd-measure | File | 46.76 KB | 0755 |
|
| systemd-modules-load | File | 18.56 KB | 0755 |
|
| systemd-network-generator | File | 42.45 KB | 0755 |
|
| systemd-networkd | File | 1.59 MB | 0755 |
|
| systemd-networkd-wait-online | File | 38.61 KB | 0755 |
|
| systemd-pcrextend | File | 26.63 KB | 0755 |
|
| systemd-pcrlock | File | 134.7 KB | 0755 |
|
| systemd-pstore | File | 22.47 KB | 0755 |
|
| systemd-quotacheck | File | 14.45 KB | 0755 |
|
| systemd-random-seed | File | 26.45 KB | 0755 |
|
| systemd-remount-fs | File | 18.45 KB | 0755 |
|
| systemd-reply-password | File | 14.37 KB | 0755 |
|
| systemd-resolved | File | 522.51 KB | 0755 |
|
| systemd-rfkill | File | 22.45 KB | 0755 |
|
| systemd-shutdown | File | 54.45 KB | 0755 |
|
| systemd-sleep | File | 46.45 KB | 0755 |
|
| systemd-socket-proxyd | File | 30.45 KB | 0755 |
|
| systemd-storagetm | File | 50.59 KB | 0755 |
|
| systemd-sulogin-shell | File | 18.37 KB | 0755 |
|
| systemd-sysctl | File | 22.56 KB | 0755 |
|
| systemd-sysroot-fstab-check | File | 54.76 KB | 0755 |
|
| systemd-sysupdate | File | 114.84 KB | 0755 |
|
| systemd-sysv-install | File | 1.33 KB | 0755 |
|
| systemd-time-wait-sync | File | 18.37 KB | 0755 |
|
| systemd-timedated | File | 42.47 KB | 0755 |
|
| systemd-timesyncd | File | 58.29 KB | 0755 |
|
| systemd-tpm2-setup | File | 26.56 KB | 0755 |
|
| systemd-udevd | File | 1.37 MB | 0755 |
|
| systemd-update-done | File | 14.37 KB | 0755 |
|
| systemd-update-utmp | File | 22.45 KB | 0755 |
|
| systemd-user-runtime-dir | File | 22.37 KB | 0755 |
|
| systemd-user-sessions | File | 14.37 KB | 0755 |
|
| systemd-veritysetup | File | 26.66 KB | 0755 |
|
| systemd-volatile-root | File | 22.37 KB | 0755 |
|
| systemd-xdg-autostart-condition | File | 14.37 KB | 0755 |
|