Skip to content

Instantly share code, notes, and snippets.

@javashin
Created November 10, 2019 15:05
Show Gist options
  • Save javashin/fc983628fa870ac6faaac0e740e1ad9a to your computer and use it in GitHub Desktop.
Save javashin/fc983628fa870ac6faaac0e740e1ad9a to your computer and use it in GitHub Desktop.
#!/bin/sh
pkgin -y install xorg
pkgin -y install hal
pkgin -y install fam
pkgin -y install mpv compton midori firefox mozilla-rootcerts-openssl
pkgin -y install wpa_gui sysupgrade deluge slim slim-themes uget thunderbird
pkgin -y install xfce4 xfce4-extras
cp /usr/pkg/share/examples/rc.d/hal /etc/rc.d
cp /usr/pkg/share/examples/rc.d/dbus /etc/rc.d
cp /usr/pkg/share/examples/rc.d/famd /etc/rc.d
cp /usr/pkg/share/examples/rc.d/avahidaemon /etc/rc.d/
cp /usr/pkg/share/examples/rc.d/slim /etc/rc.d
echo "wscons=YES" >> /etc/rc.conf
echo "amd=YES" >> /etc/rc.conf
echo "avahidaemon=YES" >> /etc/rc.conf
echo "rpcbind=YES" >> /etc/rc.conf
echo "famd=YES" >> /etc/rc.conf
echo "dbus=YES" >> /etc/rc.conf
echo "hal=YES" >> /etc/rc.conf
echo "slim=YES" >> /etc/rc.conf
echo "ipv6addrctl=YES" >> /etc/rc.conf
echo "ipv6addrctl_policy=ipv4_prefer" >> /etc/rc.conf
echo "setvar wskbd bell.volume 0" >> /etc/wscons.conf
echo "setvar wskbd bell.pitch 0" >> /etc/wscons.conf
mkdir /amd
mkdir /media
mkdir /etc/amd
sysctl -w kern.defcorename=/tmp/%n.core
echo exec ck-launch-session dbus-launch --exit-with-session startxfce4 >> .xinitrc
#nano $HOME/.xinitrc
cp .xinitrc /home/javashin/.xinitrc
chown javashin:wheel /home/javashin/.xinitrc
shutdown -r now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment