M7350/external/compat-wireless/compat/scripts/compat_firmware_install

22 lines
460 B
Plaintext
Raw Normal View History

2024-09-09 08:52:07 +00:00
#!/bin/sh
if [ -f /usr/bin/lsb_release ]; then
LSB_RED_ID=$(/usr/bin/lsb_release -i -s)
else
LSB_RED_ID="Unknown"
fi
case $LSB_RED_ID in
"Ubuntu")
mkdir -p /lib/udev/ /lib/udev/rules.d/
cp udev/ubuntu/compat_firmware.sh /lib/udev/
2024-09-09 08:57:42 +00:00
cp udev/ubuntu/50-compat_firmware.rules /lib/udev/rules.d/
2024-09-09 08:52:07 +00:00
;;
*)
mkdir -p /lib/udev/ /lib/udev/rules.d/
cp udev/compat_firmware.sh /lib/udev/
cp udev/50-compat_firmware.rules /lib/udev/rules.d/
;;
esac