Submit
Path:
~
/
/
lib
/
systemd
/
File Content:
systemd-update-helper
#!/usr/bin/bash # SPDX-License-Identifier: LGPL-2.1-or-later set -eu set -o pipefail command="${1:?}" shift command -v systemctl >/dev/null || exit 0 case "$command" in install-system-units) systemctl --no-reload preset "$@" ;; install-user-units) systemctl --no-reload preset --global "$@" ;; remove-system-units) if [ -d /run/systemd/system ]; then systemctl --no-reload disable --now --no-warn "$@" else systemctl --no-reload disable --no-warn "$@" fi ;; remove-user-units) systemctl --global disable --no-warn "$@" [ -d /run/systemd/system ] || exit 0 users=$(systemctl list-units 'user@*' --legend=no | sed -n -r 's/.*user@([0-9]+).service.*/\1/p') for user in $users; do SYSTEMD_BUS_TIMEOUT=15s \ systemctl --user -M "$user@" disable --now --no-warn "$@" & done wait ;; mark-restart-system-units) [ -d /run/systemd/system ] || exit 0 for unit in "$@"; do systemctl set-property "$unit" Markers=+needs-restart & done wait ;; mark-reload-system-units) [ -d /run/systemd/system ] || exit 0 for unit in "$@"; do systemctl set-property "$unit" Markers=+needs-reload & done wait ;; mark-restart-user-units) [ -d /run/systemd/system ] || exit 0 users=$(systemctl list-units 'user@*' --legend=no | sed -n -r 's/.*user@([0-9]+).service.*/\1/p') for user in $users; do for unit in "$@"; do SYSTEMD_BUS_TIMEOUT=15s \ systemctl --user -M "$user@" set-property "$unit" Markers=+needs-restart & done done wait ;; mark-reload-user-units) [ -d /run/systemd/system ] || exit 0 users=$(systemctl list-units 'user@*' --legend=no | sed -n -r 's/.*user@([0-9]+).service.*/\1/p') for user in $users; do for unit in "$@"; do SYSTEMD_BUS_TIMEOUT=15s \ systemctl --user -M "$user@" set-property "$unit" Markers=+needs-reload & done done wait ;; system-reload-restart|system-reload|system-restart) if [ -n "$*" ]; then echo "Unexpected arguments for '$command': $*" exit 2 fi [ -d /run/systemd/system ] || exit 0 if [[ "$command" =~ reload ]]; then systemctl daemon-reload fi if [[ "$command" =~ restart ]]; then systemctl reload-or-restart --marked fi ;; user-reload-restart|user-reload|user-restart|user-reexec) if [ -n "$*" ]; then echo "Unexpected arguments for '$command': $*" exit 2 fi [ -d /run/systemd/system ] || exit 0 users=$(systemctl list-units 'user@*' --legend=no | sed -n -r 's/.*user@([0-9]+).service.*/\1/p') if [[ "$command" =~ reexec ]]; then for user in $users; do SYSTEMD_BUS_TIMEOUT=15s \ systemctl --user -M "$user@" daemon-reexec & done wait fi if [[ "$command" =~ reload ]]; then for user in $users; do SYSTEMD_BUS_TIMEOUT=15s \ systemctl --user -M "$user@" daemon-reload & done wait fi if [[ "$command" =~ restart ]]; then for user in $users; do SYSTEMD_BUS_TIMEOUT=15s \ systemctl --user -M "$user@" reload-or-restart --marked & done wait fi ;; *) echo "Unknown verb '$command'" exit 3 ;; esac
Submit
FILE
FOLDER
Name
Size
Permission
Action
boot
---
0755
catalog
---
0755
network
---
0755
ntp-units.d
---
0755
system
---
0755
system-generators
---
0755
system-preset
---
0755
system-shutdown
---
0755
system-sleep
---
0755
systemd-sysv-install
---
0
systemd-udevd
---
0
user
---
0755
user-environment-generators
---
0755
user-generators
---
0755
user-preset
---
0755
libsystemd-shared.abignore
100 bytes
0644
purge-nobody-user
2355 bytes
0755
resolv.conf
710 bytes
0644
systemd
98224 bytes
0755
systemd-ac-power
15560 bytes
0755
systemd-backlight
36392 bytes
0755
systemd-binfmt
24056 bytes
0755
systemd-bless-boot
32544 bytes
0755
systemd-boot-check-no-failures
15840 bytes
0755
systemd-cgroups-agent
15776 bytes
0755
systemd-coredump
69520 bytes
0755
systemd-cryptsetup
94736 bytes
0755
systemd-export
44768 bytes
0755
systemd-fsck
32240 bytes
0755
systemd-growfs
23992 bytes
0755
systemd-hibernate-resume
15584 bytes
0755
systemd-hostnamed
53328 bytes
0755
systemd-initctl
24072 bytes
0755
systemd-integritysetup
24256 bytes
0755
systemd-journald
185680 bytes
0755
systemd-localed
53104 bytes
0755
systemd-logind
302992 bytes
0755
systemd-makefs
15776 bytes
0755
systemd-measure
53352 bytes
0755
systemd-modules-load
24280 bytes
0755
systemd-network-generator
44888 bytes
0755
systemd-pcrphase
32472 bytes
0755
systemd-pstore
24168 bytes
0755
systemd-quotacheck
15616 bytes
0755
systemd-random-seed
28120 bytes
0755
systemd-remount-fs
19920 bytes
0755
systemd-reply-password
15816 bytes
0755
systemd-rfkill
24088 bytes
0755
systemd-shutdown
52928 bytes
0755
systemd-sleep
32296 bytes
0755
systemd-socket-proxyd
32416 bytes
0755
systemd-sulogin-shell
19984 bytes
0755
systemd-sysctl
28392 bytes
0755
systemd-sysroot-fstab-check
57688 bytes
0755
systemd-sysupdate
127872 bytes
0755
systemd-sysv-install
bytes
0
systemd-timedated
48952 bytes
0755
systemd-udevd
bytes
0
systemd-update-done
15816 bytes
0755
systemd-update-helper
3853 bytes
0755
systemd-update-utmp
24088 bytes
0755
systemd-user-runtime-dir
24032 bytes
0755
systemd-user-sessions
15584 bytes
0755
systemd-vconsole-setup
19952 bytes
0755
systemd-veritysetup
24208 bytes
0755
systemd-volatile-root
24024 bytes
0755
systemd-xdg-autostart-condition
15832 bytes
0755
N4ST4R_ID | Naxtarrr