contrib: alpine: fix reboot/shutdown/halt/suspend symlinks

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2021-02-11 21:05:01 +01:00
1 parent a45e2c6831
commit 782da9d091
2 files changed
+12

No files matched your search

+6
View File
@@ -24,6 +24,12 @@ if [ "x$yorn" = "xy" -o "x$yorn" = "xY" ]; then
cd /sbin
rm init
ln -s /bin/busybox init
rm halt shutdown reboot suspend
ln -s /bin/busybox halt
ln -s /bin/busybox shutdown
ln -s /bin/busybox reboot
ln -s /bin/busybox suspend
echo "*** Done"
echo
else