aboutsummaryrefslogblamecommitdiff
path: root/scripts/hostclass/roadwarrior_laptop/30-roadwarrior
blob: cf3219ddccd51054097a145b888f8a2336947cac (plain) (tree)
1
2
3
4
5
6
7
8
9
10





                                     



                                              









                                                                
#!/bin/sh

# Configure sudoers.
install_file -m 0600 \
  /usr/local/etc/sudoers \
  /usr/local/etc/sudoers.d/networkmgr

# Configure devd for Android USB tethering.
install_file -m 0644 /etc/devd/usb-tether.conf
service devd restart

# Configure KRB5/LDAP. But only for manual use, not for NSS/PAM.
pkg install -y \
  krb5 \
  cyrus-sasl-gssapi \
  openldap26-client

install_template -m 0644 \
  /etc/krb5.conf \
  /usr/local/etc/openldap/ldap.conf