first commit

This commit is contained in:
Your Name
2026-02-07 20:22:48 +08:00
commit 1b9711d5e4
2270 changed files with 805872 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#!/bin/sh -e
if [ "x$1" = xconfigure ]; then
if which plymouth-set-default-theme >/dev/null 2>&1; then
# For Debian
plymouth-set-default-theme orangepi
else
# For Ubuntu
update-alternatives \
--install /usr/share/plymouth/themes/default.plymouth default.plymouth \
/usr/share/plymouth/themes/orangepi/orangepi.plymouth 150
fi
if which update-initramfs >/dev/null 2>&1; then
update-initramfs -u
fi
fi

View File

@@ -0,0 +1,7 @@
#!/bin/sh -e
if [ "x$1" = xremove ]; then
if which update-initramfs >/dev/null 2>&1; then
update-initramfs -u
fi
fi

View File

@@ -0,0 +1,13 @@
#!/bin/sh -e
if [ "x$1" = xremove ]; then
if which plymouth-set-default-theme >/dev/null 2>&1; then
# For Debian
plymouth-set-default-theme -r
else
# For Ubuntu
update-alternatives \
--remove default.plymouth \
/usr/share/plymouth/themes/orangepi/orangepi.plymouth
fi
fi