/
snap
/
core24
/
1587
/
usr
/
lib
/
systemd
/
/snap/core24/1587/usr/lib/systemd
mkdir
upload
Name
Size
Mode
Actions
bootchart.conf.d/
-
0755
rm
catalog/
-
0755
rm
journald.conf.d/
-
0755
rm
network/
-
0755
rm
ntp-units.d/
-
0755
rm
repart/
-
0755
rm
system/
-
0755
rm
system-generators/
-
0755
rm
system-preset/
-
0755
rm
user/
-
0755
rm
user-environment-generators/
-
0755
rm
user-generators/
-
0755
rm
user-preset/
-
0755
rm
resolv.conf
710
0644
edit
dl
rm
systemd
100816
0755
edit
dl
rm
systemd-backlight
35272
0755
edit
dl
rm
systemd-battery-check
18888
0755
edit
dl
rm
systemd-binfmt
22984
0755
edit
dl
rm
systemd-boot-check-no-failures
14792
0755
edit
dl
rm
systemd-bootchart
100872
0755
edit
dl
rm
systemd-bootchart-poststop.sh
897
0755
edit
dl
rm
systemd-bsod
22984
0755
edit
dl
rm
systemd-cgroups-agent
14712
0755
edit
dl
rm
systemd-coredump
84488
0755
edit
dl
rm
systemd-cryptsetup
80840
0755
edit
dl
rm
systemd-executor
137792
0755
edit
dl
rm
systemd-fsck
27008
0755
edit
dl
rm
systemd-fsckd
27080
0755
edit
dl
rm
systemd-growfs
22984
0755
edit
dl
rm
systemd-hibernate-resume
23104
0755
edit
dl
rm
systemd-hostnamed
47584
0755
edit
dl
rm
systemd-initctl
22984
0755
edit
dl
rm
systemd-integritysetup
23056
0755
edit
dl
rm
systemd-journald
193664
0755
edit
dl
rm
systemd-localed
55776
0755
edit
dl
rm
systemd-logind
285264
0755
edit
dl
rm
systemd-makefs
14712
0755
edit
dl
rm
systemd-measure
47880
0755
edit
dl
rm
systemd-modules-load
19008
0755
edit
dl
rm
systemd-network-generator
43464
0755
edit
dl
rm
systemd-networkd
1669864
0755
edit
dl
rm
systemd-networkd-wait-online
39536
0755
edit
dl
rm
systemd-pcrextend
27272
0755
edit
dl
rm
systemd-pcrlock
137928
0755
edit
dl
rm
systemd-pstore
23008
0755
edit
dl
rm
systemd-quotacheck
14792
0755
edit
dl
rm
systemd-random-seed
27080
0755
edit
dl
rm
systemd-remount-fs
18888
0755
edit
dl
rm
systemd-reply-password
14712
0755
edit
dl
rm
systemd-resolved
535048
0755
edit
dl
rm
systemd-rfkill
22984
0755
edit
dl
rm
systemd-shutdown
55760
0755
edit
dl
rm
systemd-sleep
47560
0755
edit
dl
rm
systemd-socket-proxyd
31184
0755
edit
dl
rm
systemd-storagetm
51808
0755
edit
dl
rm
systemd-sulogin-shell
18808
0755
edit
dl
rm
systemd-sysctl
23104
0755
edit
dl
rm
systemd-sysroot-fstab-check
56072
0755
edit
dl
rm
systemd-sysupdate
117592
0755
edit
dl
rm
systemd-sysv-install
1360
0755
edit
dl
rm
systemd-time-wait-sync
18808
0755
edit
dl
rm
systemd-timedated
43488
0755
edit
dl
rm
systemd-timesyncd
59688
0755
edit
dl
rm
systemd-udevd
1439536
0755
edit
dl
rm
systemd-update-done
14712
0755
edit
dl
rm
systemd-update-utmp
22984
0755
edit
dl
rm
systemd-user-runtime-dir
22904
0755
edit
dl
rm
systemd-user-sessions
14712
0755
edit
dl
rm
systemd-veritysetup
27304
0755
edit
dl
rm
systemd-volatile-root
22904
0755
edit
dl
rm
systemd-xdg-autostart-condition
14712
0755
edit
dl
rm
Edit:
/snap/core24/1587/usr/lib/systemd/systemd-sysv-install
(1360B)
#!/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
Save
cmd:
run