/
snap
/
core20
/
2769
/
usr
/
lib
/
systemd
/
/snap/core20/2769/usr/lib/systemd
mkdir
upload
Name
Size
Mode
Actions
boot/
-
0755
rm
bootchart.conf.d/
-
0755
rm
catalog/
-
0755
rm
network/
-
0755
rm
ntp-units.d/
-
0755
rm
system/
-
0755
rm
system-generators/
-
0755
rm
system-preset/
-
0755
rm
system-shutdown/
-
0755
rm
system-sleep/
-
0755
rm
user/
-
0755
rm
user-environment-generators/
-
0755
rm
user-generators/
-
0755
rm
user-preset/
-
0755
rm
libsystemd-shared-245.so
2462664
0644
edit
dl
rm
resolv.conf
701
0644
edit
dl
rm
set-cpufreq
1246
0755
edit
dl
rm
systemd
1624320
0755
edit
dl
rm
systemd-ac-power
14560
0755
edit
dl
rm
systemd-backlight
26768
0755
edit
dl
rm
systemd-binfmt
18656
0755
edit
dl
rm
systemd-bless-boot
31048
0755
edit
dl
rm
systemd-boot-check-no-failures
14560
0755
edit
dl
rm
systemd-bootchart
92544
0755
edit
dl
rm
systemd-bootchart-poststop.sh
897
0755
edit
dl
rm
systemd-cgroups-agent
14480
0755
edit
dl
rm
systemd-cryptsetup
35152
0755
edit
dl
rm
systemd-dissect
22864
0755
edit
dl
rm
systemd-fsck
26776
0755
edit
dl
rm
systemd-fsckd
30944
0755
edit
dl
rm
systemd-growfs
22752
0755
edit
dl
rm
systemd-hibernate-resume
14480
0755
edit
dl
rm
systemd-hostnamed
35040
0755
edit
dl
rm
systemd-initctl
18656
0755
edit
dl
rm
systemd-journald
162032
0755
edit
dl
rm
systemd-localed
43232
0755
edit
dl
rm
systemd-logind
268576
0755
edit
dl
rm
systemd-makefs
14480
0755
edit
dl
rm
systemd-modules-load
18760
0755
edit
dl
rm
systemd-network-generator
35040
0755
edit
dl
rm
systemd-networkd
2245632
0755
edit
dl
rm
systemd-networkd-wait-online
31080
0755
edit
dl
rm
systemd-pstore
22776
0755
edit
dl
rm
systemd-quotacheck
14560
0755
edit
dl
rm
systemd-random-seed
22672
0755
edit
dl
rm
systemd-remount-fs
18656
0755
edit
dl
rm
systemd-reply-password
14480
0755
edit
dl
rm
systemd-resolved
415968
0755
edit
dl
rm
systemd-rfkill
22752
0755
edit
dl
rm
systemd-shutdown
55528
0755
edit
dl
rm
systemd-sleep
26952
0755
edit
dl
rm
systemd-socket-proxyd
30944
0755
edit
dl
rm
systemd-sulogin-shell
14480
0755
edit
dl
rm
systemd-sysctl
22856
0755
edit
dl
rm
systemd-sysv-install
1360
0755
edit
dl
rm
systemd-time-wait-sync
14480
0755
edit
dl
rm
systemd-timedated
47328
0755
edit
dl
rm
systemd-timesyncd
55520
0755
edit
dl
rm
systemd-udevd
760392
0755
edit
dl
rm
systemd-update-utmp
14560
0755
edit
dl
rm
systemd-user-runtime-dir
22672
0755
edit
dl
rm
systemd-user-sessions
14480
0755
edit
dl
rm
systemd-veritysetup
14616
0755
edit
dl
rm
systemd-volatile-root
18576
0755
edit
dl
rm
Edit:
/snap/core20/2769/usr/lib/systemd/set-cpufreq
(1246B)
#! /bin/sh # Set the CPU Frequency Scaling governor to "ondemand"/"powersave" where available set -eu FIRSTCPU=`cut -f1 -d- /sys/devices/system/cpu/online` AVAILABLE="/sys/devices/system/cpu/cpu$FIRSTCPU/cpufreq/scaling_available_governors" DOWN_FACTOR="/sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor" [ -f $AVAILABLE ] || exit 0 read governors < $AVAILABLE case $governors in *interactive*) GOVERNOR="interactive" break ;; *ondemand*) GOVERNOR="ondemand" case $(uname -m) in ppc64*) SAMPLING=100 ;; esac break ;; *powersave*) GOVERNOR="powersave" break ;; *) exit 0 ;; esac [ -n "${GOVERNOR:-}" ] || exit 0 echo "Setting $GOVERNOR scheduler for all CPUs" for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor do [ -f $CPUFREQ ] || continue echo -n $GOVERNOR > $CPUFREQ done if [ -n "${SAMPLING:-}" ] && [ -f $DOWN_FACTOR ]; then echo -n $SAMPLING > $DOWN_FACTOR fi
Save
cmd:
run