Skip to content

Commit

Permalink
Update openhd_sys_utils.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed May 8, 2024
1 parent 61b9280 commit de916d7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions openhd_sys_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ if [ -f "/boot/openhd/openhd/x86.txt" ]; then
sudo mv /boot/openhd/openhd/* /boot/openhd
fi

if [[ "$(lsb_release -cs)" == "noble" ]]; then
if [ -f "/opt/setup" ]; then
depmod -a
rm /opt/setup
fi
fi

if [ -f "/boot/openhd/openhd/x86.txt" ]; then
sudo mv /boot/openhd/openhd/* /boot/openhd
fi

if [ -f "/boot/openhd/x86.txt" ]; then
sudo bash /usr/local/bin/initX86.sh
touch /usr/local/share/executed
Expand Down

0 comments on commit de916d7

Please sign in to comment.