1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-21 23:19:07 +02:00
openwrt/package/system/zram-swap
Rui Salvaterra 18c24a29f9 zram-swap: robustify mkswap/swapon/swapoff invocation
Instead of assuming /sbin contains the correct BusyBox symlinks, directly invoke
the busybox executable. The required utilities are guaranteed to be present,
since the zram-swap package selects them. Additionally, don't assume busybox
resides in /bin, rely on PATH to find it.

While at it, update the copyright year, use SPDX and switch to AUTORELEASE.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-06-24 15:24:52 -10:00
..
files zram-swap: robustify mkswap/swapon/swapoff invocation 2021-06-24 15:24:52 -10:00
Makefile zram-swap: robustify mkswap/swapon/swapoff invocation 2021-06-24 15:24:52 -10:00