mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
install dkms pre-script execution
This commit is contained in:
parent
9ba65e0e84
commit
efa7d760b0
@ -931,6 +931,16 @@ then
|
||||
echo "\4" >> /etc/issue
|
||||
fi
|
||||
|
||||
# Fix Realtek on PN51
|
||||
if asuspn51
|
||||
then
|
||||
# Upgrade Realtek drivers
|
||||
print_text_in_color "$ICyan" "Upgrading Realtek firmware..."
|
||||
install_if_not dkms
|
||||
curl_to_dir https://raw.githubusercontent.com/nextcloud/vm/master/network/asusnuc pn51.sh "$SCRIPTS"
|
||||
bash "$SCRIPTS"/pn51.sh
|
||||
fi
|
||||
|
||||
# Update if it's the Home/SME Server
|
||||
if home_sme_server
|
||||
then
|
||||
@ -939,15 +949,6 @@ then
|
||||
run_script STATIC update
|
||||
fi
|
||||
|
||||
# Fix Realtek on PN51
|
||||
if asuspn51
|
||||
then
|
||||
# Upgrade Realtek drivers
|
||||
print_text_in_color "$ICyan" "Upgrading Realtek firmware..."
|
||||
curl_to_dir https://raw.githubusercontent.com/nextcloud/vm/master/network/asusnuc pn51.sh "$SCRIPTS"
|
||||
bash "$SCRIPTS"/pn51.sh
|
||||
fi
|
||||
|
||||
# Force MOTD to show correct number of updates
|
||||
if is_this_installed update-notifier-common
|
||||
then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user