mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
add drivers for PN51 network (#2049)
* add drivers for PN51 network * install script
This commit is contained in:
parent
457b6a6913
commit
d536e2c959
28
network/pn51
Normal file
28
network/pn51
Normal file
@ -0,0 +1,28 @@
|
||||
#!/bin/bash
|
||||
|
||||
# T&M Hansson IT AB © - 2021, https://www.hanssonit.se/
|
||||
# Copyright © 2021 Simon Lindner (https://github.com/szaimen)
|
||||
|
||||
true
|
||||
SCRIPT_NAME="PN51 Network Drivers"
|
||||
SCRIPT_EXPLAINER="This installs the correct drivers for the 2.5GB LAN card in the PN51 ASUS"
|
||||
# shellcheck source=lib.sh
|
||||
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
|
||||
|
||||
# Check for errors + debug code and abort if something isn't right
|
||||
# 1 = ON
|
||||
# 0 = OFF
|
||||
DEBUG=0
|
||||
debug_mode
|
||||
|
||||
# Check if root
|
||||
root_check
|
||||
|
||||
install_if_not build-essentials
|
||||
|
||||
curl_to_dir https://github.com/nextcloud/vm/blob/pn51/network r8125-9.005.06.tar.bz2 /tmp
|
||||
cd /tmp || exit
|
||||
tar-xf r8125-9.005.06.tar.bz2
|
||||
|
||||
cd r8125-9.005.06
|
||||
./autorun
|
||||
BIN
network/r8125-9.005.06.tar.bz2
Normal file
BIN
network/r8125-9.005.06.tar.bz2
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user