PrawnOS-nonfree/scripts/InstallScripts/InstallPackages.sh
SolidHal d990e31592 Fixes for installation scripts, build image with full application set
the disable install recommends didnt fix the regulatory db issues
2018-09-05 21:39:57 -05:00

28 lines
833 B
Bash
Executable File

#!/bin/sh -xe
DIR=/InstallResources
#Setup locales, crda
apt install -y locales
dpkg-reconfigure locales
apt install -y crda
locale-gen
#Install lxqt, wicd
apt install -y xorg acpi-support lightdm tasksel dpkg librsvg2-common xorg xserver-xorg-input-libinput alsa-utils anacron avahi-daemon eject iw libnss-mdns xdg-utils lxqt wicd-daemon wicd wicd-curses wicd-gtk xserver-xorg-input-synaptics
#Copy in acpi, pulse audio, trackpad settings, funtion key settings
cp -rf $DIR/default.pa /etc/pulse/default.pa
cp -rf $DIR/sound.sh /etc/acpi/sound.sh
mkdir /etc/acpi/events
cp -rf $DIR/headphone-acpi-toggle /etc/acpi/events/headphone-acpi-toggle
mkdir /etc/X11/xorg.conf.d/
cp -rf $DIR/50-synaptics.conf /etc/X11/xorg.conf.d/
echo " Enter new username: "
read username
adduser $username
usermod -a -G sudo,netdev $username
reboot