Install.sh 647 B

123456789101112131415161718192021222324
  1. #!/bin/sh -xe
  2. #Setup locales
  3. apt install -y locales
  4. #Install xfce, wicd
  5. apt install -y task-xfce-desktop wicd wicd-curses wicd-gtk xserver-xorg-input-synaptics acpi
  6. #Copy in acpi, pulse audio, trackpad settings, funtion key settings
  7. cp -rf /os_configs/default.pa /etc/pulse/default.pa
  8. mkdir /etc/acpi
  9. cp -rf /os_configs/sound.sh /etc/acpi/sound.sh
  10. mkdir /etc/acpi/events
  11. cp -rf /os_configs/headphone-acpi-toggle /etc/acpi/events/headphone-acpi-toggle
  12. mkdir /etc/X11/xorg.conf.d/
  13. cp -rf /os_configs/50-synaptics.conf /etc/X11/xorg.conf.d/
  14. locale-gen
  15. echo "Username: "
  16. read username
  17. adduser $username
  18. usermod -a -G sudo,netdev $username
  19. reboot