From 0439d2707714e1b6879818dc76e15256617a335d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 2 Aug 2017 20:30:18 +0200 Subject: Update system install script --- system_install | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'system_install') diff --git a/system_install b/system_install index 1caf757..bf93b15 100755 --- a/system_install +++ b/system_install @@ -22,15 +22,26 @@ if [ -e /etc/arch-release ]; then fi fi -read -p "Laptop ACPI and pm? (Y/n) " -if [[ $REPLY =~ ^[Yy]?$ ]]; then +if ask "Laptop ACPI and pm"; then inst system/etc/acpi/handler.sh /etc/acpi/handler.sh inst system/etc/pm/sleep.d/10lock /etc/pm/sleep.d/10lock fi -read -p "Wpa supplicant? (Y/n) " -if [[ $REPLY =~ ^[Yy]?$ ]]; then +if ask "System PATH profile"; then + inst system/etc/profile.d/path.sh /etc/profile.d/path.sh +fi + +if ask "X11 configuration"; then + inst system/etc/X11/ /etc/X11/ +fi + +if ask "System-wide PulseAudio configuration"; then + inst system/etc/pulse/ /etc/pulse/ +fi + +if ask "Wpa supplicant"; then # TODO + true fi # As final step just ensure that correct user is owning system files -- cgit v1.2.3