diff options
author | Cullum Smith <cullum@sacredheartsc.com> | 2024-08-03 08:24:04 -0400 |
---|---|---|
committer | Cullum Smith <cullum@sacredheartsc.com> | 2024-08-03 08:24:04 -0400 |
commit | 8e386dac954408cc64d1d0715d73dec7905f5771 (patch) | |
tree | 63ac606a59c0814fcc8fcdaaee9070fb9899109d /scripts | |
parent | 44df82b148cbb028ec2b48a429424dcfc49f88e8 (diff) | |
download | infrastructure-8e386dac954408cc64d1d0715d73dec7905f5771.tar.gz |
add usb tethering to laptop hostclass
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/hostclass/laptop | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/hostclass/laptop b/scripts/hostclass/laptop index 66d4181..26f9fe6 100644 --- a/scripts/hostclass/laptop +++ b/scripts/hostclass/laptop @@ -9,6 +9,11 @@ install_file -m 0555 /usr/local/libexec/lid-close install_file -m 0644 /etc/devd/lid-close.conf service devd restart +# Enable kernel module for Android USB tethering. +load_kernel_module if_urndis +set_loader_conf if_urndis_load=YES +sysrc -v ifconfig_ue0='DHCP' + case ${wireless_type:-} in iwm*) set_loader_conf \ |