diff options
author | Rui Salvaterra <rsalvaterra@gmail.com> | 2021-06-24 20:05:21 +0100 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2021-06-24 15:24:52 -1000 |
commit | 18c24a29f94ba56ecbee8c7a818368f9ef162527 (patch) | |
tree | ebf6ffc9bf16e7b132e794a94c2d456146fea142 /package/base-files/files/etc/rc.local | |
parent | 1818b038d7275273adbd525b5ee76bc60b7d628c (diff) | |
download | upstream-18c24a29f94ba56ecbee8c7a818368f9ef162527.tar.gz upstream-18c24a29f94ba56ecbee8c7a818368f9ef162527.tar.bz2 upstream-18c24a29f94ba56ecbee8c7a818368f9ef162527.zip |
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>
Diffstat (limited to 'package/base-files/files/etc/rc.local')
0 files changed, 0 insertions, 0 deletions