XYZ File Manager
Current Path:
/usr/lib/systemd
usr
/
lib
/
systemd
/
📁
..
📁
catalog
📁
network
📄
resolv.conf
(710 B)
📁
system
📁
system-generators
📁
system-preset
📁
system-shutdown
📁
system-sleep
📄
systemd
(90.38 KB)
📄
systemd-ac-power
(14.37 KB)
📄
systemd-backlight
(30.37 KB)
📄
systemd-binfmt
(18.37 KB)
📄
systemd-boot-check-no-failures
(14.37 KB)
📄
systemd-cgroups-agent
(14.3 KB)
📄
systemd-cryptsetup
(70.65 KB)
📄
systemd-fsck
(22.3 KB)
📄
systemd-fsckd
(26.37 KB)
📄
systemd-growfs
(22.37 KB)
📄
systemd-hibernate-resume
(14.3 KB)
📄
systemd-hostnamed
(42.39 KB)
📄
systemd-initctl
(22.37 KB)
📄
systemd-integritysetup
(22.41 KB)
📄
systemd-journald
(166.5 KB)
📄
systemd-localed
(46.39 KB)
📄
systemd-logind
(274.51 KB)
📄
systemd-makefs
(14.3 KB)
📄
systemd-measure
(46.55 KB)
📄
systemd-modules-load
(18.47 KB)
📄
systemd-network-generator
(38.37 KB)
📄
systemd-networkd
(1.56 MB)
📄
systemd-networkd-wait-online
(30.5 KB)
📄
systemd-pcrphase
(22.48 KB)
📄
systemd-pstore
(22.39 KB)
📄
systemd-quotacheck
(14.37 KB)
📄
systemd-random-seed
(22.3 KB)
📄
systemd-remount-fs
(18.3 KB)
📄
systemd-reply-password
(14.3 KB)
📄
systemd-rfkill
(22.37 KB)
📄
systemd-shutdown
(46.38 KB)
📄
systemd-sleep
(30.38 KB)
📄
systemd-socket-proxyd
(30.38 KB)
📄
systemd-sulogin-shell
(14.37 KB)
📄
systemd-sysctl
(22.47 KB)
📄
systemd-sysroot-fstab-check
(42.59 KB)
📄
systemd-sysv-install
(1.33 KB)
📄
systemd-time-wait-sync
(18.3 KB)
📄
systemd-timedated
(42.39 KB)
📄
systemd-update-utmp
(18.37 KB)
📄
systemd-user-runtime-dir
(18.3 KB)
📄
systemd-user-sessions
(14.3 KB)
📄
systemd-veritysetup
(22.41 KB)
📄
systemd-volatile-root
(18.3 KB)
📄
systemd-xdg-autostart-condition
(14.3 KB)
📁
user
📁
user-environment-generators
📁
user-generators
📁
user-preset
Editing: systemd-sysv-install
#!/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
Upload File
Create Folder