/
snap
/
core20
/
2866
/
usr
/
lib
/
systemd
/
system
/
sysinit.target.wants
/
/snap/core20/2866/usr/lib/systemd/system/sysinit.target.wants
mkdir
upload
Name
Size
Mode
Actions
apparmor.service
1162
0644
edit
dl
rm
cryptsetup.target
412
0644
edit
dl
rm
dev-hugepages.mount
750
0644
edit
dl
rm
dev-mqueue.mount
693
0644
edit
dl
rm
finalrd.service
419
0644
edit
dl
rm
kmod-static-nodes.service
716
0644
edit
dl
rm
proc-sys-fs-binfmt_misc.automount
745
0644
edit
dl
rm
sys-fs-fuse-connections.mount
823
0644
edit
dl
rm
sys-kernel-config.mount
830
0644
edit
dl
rm
sys-kernel-debug.mount
738
0644
edit
dl
rm
sys-kernel-tracing.mount
764
0644
edit
dl
rm
systemd-ask-password-console.path
722
0644
edit
dl
rm
systemd-binfmt.service
1175
0644
edit
dl
rm
systemd-boot-system-token.service
1371
0644
edit
dl
rm
systemd-hwdb-update.service
813
0644
edit
dl
rm
systemd-journal-flush.service
773
0644
edit
dl
rm
systemd-journald.service
1558
0644
edit
dl
rm
systemd-machine-id-commit.service
728
0644
edit
dl
rm
systemd-modules-load.service
1042
0644
edit
dl
rm
systemd-pstore.service
811
0644
edit
dl
rm
systemd-random-seed.service
1059
0644
edit
dl
rm
systemd-sysctl.service
693
0644
edit
dl
rm
systemd-sysusers.service
695
0644
edit
dl
rm
systemd-timesyncd.service
1764
0644
edit
dl
rm
systemd-tmpfiles-setup-dev.service
739
0644
edit
dl
rm
systemd-tmpfiles-setup.service
779
0644
edit
dl
rm
systemd-udev-trigger.service
753
0644
edit
dl
rm
systemd-udevd.service
1151
0644
edit
dl
rm
systemd-update-utmp.service
794
0644
edit
dl
rm
Edit:
/snap/core20/2866/usr/lib/systemd/system/systemd-boot-system-token.service
(1371B)
# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. [Unit] Description=Store a System Token in an EFI Variable Documentation=man:systemd-boot-system-token.service(8) DefaultDependencies=no Conflicts=shutdown.target After=local-fs.target systemd-random-seed.service Before=shutdown.target # Don't run this in a VM environment, because there EFI variables are not # actually stored in NVRAM, independent of regular storage. ConditionVirtualization=no # Only run this if the boot loader can support random seed initialization. ConditionPathExists=/sys/firmware/efi/efivars/LoaderFeatures-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f # Only run this if there is no system token defined yet, or … ConditionPathExists=|!/sys/firmware/efi/efivars/LoaderSystemToken-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f # … if the boot loader didn't pass the OS a random seed (and thus probably was missing the random seed file) ConditionPathExists=|!/sys/firmware/efi/efivars/LoaderRandomSeed-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f [Service] Type=oneshot RemainAfterExit=yes ExecStart=bootctl random-seed --graceful
Save
cmd:
run