Lakka-LibreELEC/projects/L4T/packages/util-linux/system.d/swap.service
GavinDarkglider bb321a5eed
Lakka-v5.x Switch Support Fixes (#1753)
* Switch: it builds

* Switch: Use udev to finalize usb gadget to save from systemd looping service restart until cable connected.

* Switch: Update kernel stuff again

* Switch: Downgrade Alsa packages to version in 4.x tree

* Joycond: Update Switch version

* Switch: Minor fixes

* LibreELEC: Fix a few broken files from upstream pull

* Switch: Fix LibreELEC build.

* Switch: Update bootloader stuff

* L4T: FFMPEG: Add support for nvv4l2 decoder/encoder

* FFMPEG: Add back encoder support for game recording in retroarch

* FFMPEG: revert a few changes, and add support for vulkan.
2022-10-13 21:05:34 +03:00

21 lines
448 B
Desktop File

[Unit]
Description=Mounting swapfile
DefaultDependencies=false
Before=swap.target shutdown.target
Conflicts=shutdown.target
Wants=swap.target
ConditionPathExists=/proc/swaps
ConditionKernelCommandLine=!noswap
ConditionKernelCommandLine=!installer
[Service]
Environment=HOME=/storage
Type=oneshot
ExecStartPre=/usr/lib/libreelec/mount-swap create
ExecStart=/usr/lib/libreelec/mount-swap mount
RemainAfterExit=yes
[Install]
WantedBy=basic.target