diff options
author | Mateja <mail@matejamaric.com> | 2021-04-03 00:37:03 +0200 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2021-04-03 00:37:03 +0200 |
commit | a945feb02f6d64df2219ea1044251a7fe2ea98fc (patch) | |
tree | fe0242495eb35317fd5358e403a047657dfa04b5 /openbsd/openbsd_setup | |
download | misc-a945feb02f6d64df2219ea1044251a7fe2ea98fc.tar.gz misc-a945feb02f6d64df2219ea1044251a7fe2ea98fc.zip |
Initial commit.
Diffstat (limited to 'openbsd/openbsd_setup')
-rw-r--r-- | openbsd/openbsd_setup | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/openbsd/openbsd_setup b/openbsd/openbsd_setup new file mode 100644 index 0000000..073f8bf --- /dev/null +++ b/openbsd/openbsd_setup @@ -0,0 +1,64 @@ +#!/bin/sh + +ifconfig + +ifconfig athn0 nwid YOUR_SSID wpakey YOUR_PASSWORD +dhclient athn0 + +cat > /etc/hostname.athn0 << EOF +nwid YOUR_SSID wpakey YOUR_PASSWORD +dhcp +EOF + +sh /etc/netstart athn0 + +cat > /etc/wsconsctl.cong << EOF +keyboard.bell.volume=0 +keyboard.map+="keysym Caps_Lock = Escape" +EOF + +cat ~/.xsession << EOF +xset b off +setxkbmap -option caps:swapescape +exec /usr/local/bin/i3 +EOF + +comment_out /etc/X11/xenodm/Xsetup_0 + +rcctl set apmd status on +rcctl set apmd flags -A + +rcctl set smtpd status off + +sysctl hw.disknames +disklabel sd1 +mount -t msdos /dev/sd1i /mnt +umount /mnt + +fw_update + +#usermod -G staff USER_NAME +#/etc/login.conf staff:maxproc + +echo 'permit persist keepenv USER_NAME' > /etc/doas.conf + +/etc/X11/xenodm/GiveConsole + +sndioctl output.level=+0.05 +sndioctl output.mute=! + +killall -USR1 i3status + +https://www.openbsd.org/anoncvs.html +--- +cd /usr +cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs checkout -rOPENBSD_6_7 -P src + +BIOS======================= +git clone https://git.seabios.org/seabios.git +Build without cbfs support +https://g00se.org/2016/11/seabios-on-libreboot.html + +https://github.com/librecore-org/librecore/wiki/Chainloading-SeaBIOS-from-a-GRUB-payload +https://github.com/bibanon/Coreboot-ThinkPads/blob/master/Libreboot-Mods/Libreboot-GRUB2.md +========================== |