Submit
Path:
~
/
/
usr
/
lib
/
systemd
/
File Content:
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
Edit
Rename
Chmod
Delete
FILE
FOLDER
INFO
Name
Size
Permission
Action
boot
---
0755
catalog
---
0755
logind.conf.d
---
0755
network
---
0755
ntp-units.d
---
0755
system
---
0755
system-environment-generators
---
0755
system-generators
---
0755
system-preset
---
0755
system-shutdown
---
0755
system-sleep
---
0755
user
---
0755
user-environment-generators
---
0755
user-generators
---
0755
user-preset
---
0755
libsystemd-shared-249.so
2840280 bytes
0644
lxd-agent-setup
896 bytes
0755
resolv.conf
710 bytes
0644
systemd
1849992 bytes
0755
systemd-ac-power
14712 bytes
0755
systemd-backlight
31016 bytes
0755
systemd-binfmt
18808 bytes
0755
systemd-bless-boot
31200 bytes
0755
systemd-boot-check-no-failures
14712 bytes
0755
systemd-cgroups-agent
14632 bytes
0755
systemd-cryptsetup
59952 bytes
0755
systemd-fsck
26928 bytes
0755
systemd-fsckd
31096 bytes
0755
systemd-growfs
22904 bytes
0755
systemd-hibernate-resume
14632 bytes
0755
systemd-hostnamed
43408 bytes
0755
systemd-initctl
22904 bytes
0755
systemd-journald
162176 bytes
0755
systemd-localed
51600 bytes
0755
systemd-logind
264712 bytes
0755
systemd-makefs
14632 bytes
0755
systemd-modules-load
18912 bytes
0755
systemd-network-generator
35192 bytes
0755
systemd-networkd
1513936 bytes
0755
systemd-networkd-wait-online
35328 bytes
0755
systemd-pstore
22928 bytes
0755
systemd-quotacheck
14712 bytes
0755
systemd-random-seed
22824 bytes
0755
systemd-remount-fs
14632 bytes
0755
systemd-reply-password
14632 bytes
0755
systemd-resolved
489904 bytes
0755
systemd-rfkill
22904 bytes
0755
systemd-shutdown
47488 bytes
0755
systemd-sleep
27000 bytes
0755
systemd-socket-proxyd
31104 bytes
0755
systemd-sulogin-shell
14632 bytes
0755
systemd-sysctl
23008 bytes
0755
systemd-sysv-install
1360 bytes
0755
systemd-time-wait-sync
14632 bytes
0755
systemd-timedated
47504 bytes
0755
systemd-timesyncd
55520 bytes
0755
systemd-udevd
1131856 bytes
0755
systemd-update-utmp
18808 bytes
0755
systemd-user-runtime-dir
22824 bytes
0755
systemd-user-sessions
14632 bytes
0755
systemd-veritysetup
22936 bytes
0755
systemd-volatile-root
18728 bytes
0755
systemd-xdg-autostart-condition
14632 bytes
0755
N4ST4R_ID | Naxtarrr