SHARE
TWEET

Untitled

a guest Jul 26th, 2017 399 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. USER="$(ls /home)"
  4. VBOX="$(dmesg | grep VBOX)"
  5.  
  6. pkg install -y xorg xfce slim
  7.  
  8. if [ "$VBOX" != "" ]; then
  9.     pkg install -y virtualbox-ose-additions
  10.     echo 'vboxguest_enable="YES"' >> /etc/rc.conf
  11.     echo 'vboxservice_enable="YES"' >> /etc/rc.conf
  12. fi
  13.  
  14. echo 'dbus_enable="YES"' >> /etc/rc.conf
  15. echo 'hald_enable="YES"' >> /etc/rc.conf
  16. echo 'slim_enable="YES"' >> /etc/rc.conf
  17. echo 'exec startxfce4' >> /home/$USER/.xinitrc
  18.  
  19. reboot
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top