aboutsummaryrefslogtreecommitdiff
path: root/scripts/hostname/rlaptop1
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-08-02 22:07:45 -0400
committerCullum Smith <cullum@sacredheartsc.com>2024-08-02 22:07:45 -0400
commitb62a287a4c77ca431370e1990f67137ae6414ecd (patch)
tree3b7a80f6c7765c36525715d7bc1b791f4a72390d /scripts/hostname/rlaptop1
parentcbcd022f302adc39ecb89fba6faf72e68184c0e0 (diff)
downloadinfrastructure-b62a287a4c77ca431370e1990f67137ae6414ecd.tar.gz
laptop cleanup
Diffstat (limited to 'scripts/hostname/rlaptop1')
-rw-r--r--scripts/hostname/rlaptop125
1 files changed, 6 insertions, 19 deletions
diff --git a/scripts/hostname/rlaptop1 b/scripts/hostname/rlaptop1
index 874c9dd..b1c9865 100644
--- a/scripts/hostname/rlaptop1
+++ b/scripts/hostname/rlaptop1
@@ -1,21 +1,8 @@
#!/bin/sh
-set_loader_conf \
- if_iwm_load=YES \
- iwm8265fw_load=YES
-
-sysrc -v wlans_iwm0='wlan0'
-
-# On this laptop, kern.vt.suspendswitch=1 (the default) breaks graphics
-# acceleration after resuming from sleep.
-set_sysctl \
- dev.acpi_ibm.0.handlerevents='0x10 0x11' \
- kern.vt.suspendswitch=0
-
-install_file -m 0555 /usr/local/libexec/thinkpad-brightness
-install_file -m 0644 /etc/devd/thinkpad-brightness.conf
-
-service devd restart
-
-pw usershow cullum || \
- pw useradd cullum -c "Cullum Smith" -d /home/cullum -G wheel,operator,video -s /bin/sh -m -M 700
+add_local_user \
+ -c "Cullum Smith" \
+ -G wheel,operator,video \
+ -s /bin/sh \
+ -m \
+ cullum