mirror of
https://github.com/ps5-linux/ps5-linux-loader.git
synced 2026-05-11 17:22:01 +00:00
Add a CPIO wrapper to add new files/folders at initrd at runtime Add early boot scripts (initramfs-tools for debian-based) support
15 lines
368 B
Plaintext
15 lines
368 B
Plaintext
if [ "${PS5_FW_INSTALL_DONE:-}" != y ] &&
|
|
[ -f /scripts/functions ] &&
|
|
[ -d /scripts/local-bottom ] &&
|
|
[ -n "$rootmnt" ] &&
|
|
[ -e "${rootmnt}/etc/os-release" ]; then
|
|
ID=
|
|
ID_LIKE=
|
|
. "${rootmnt}/etc/os-release"
|
|
case " ${ID} ${ID_LIKE} " in
|
|
*" ubuntu "*)
|
|
[ -e /scripts/ubuntu/ps5-wifi-fw ] && . /scripts/ubuntu/ps5-wifi-fw
|
|
;;
|
|
esac
|
|
fi
|