From e11a59510302ee1819054e6858283c0f279c654b Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Tue, 5 Oct 2021 19:42:34 +0200 Subject: [PATCH] Remove setup script This script is essentially useless and was only kept to help transition users from the old JakeDay repository. All it does now is, if asked, set the hardware clock to local time (which is also described in the wiki) and print some (partially outdated) instructions. Since the instructions are referencing outdated kernel versions, just remove the script entirely instead of bothering to update them. --- setup.sh | 73 -------------------------------------------------------- 1 file changed, 73 deletions(-) delete mode 100755 setup.sh diff --git a/setup.sh b/setup.sh deleted file mode 100755 index 7119bd836..000000000 --- a/setup.sh +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/sh - -# https://gist.github.com/davejamesmiller/1965569 -ask() { - local prompt default reply - - if [ "${2:-}" = "Y" ]; then - prompt="Y/n" - default=Y - elif [ "${2:-}" = "N" ]; then - prompt="y/N" - default=N - else - prompt="y/n" - default= - fi - - while true; do - - # Ask the question (not using "read -p" as it uses stderr not stdout) - echo -n "$1 [$prompt]: " - - # Read the answer (use /dev/tty in case stdin is redirected from somewhere else) - read reply Setting clock to local time..." - sudo timedatectl set-local-rtc 1 - sudo hwclock --systohc --localtime -else - echo "==> Not setting clock..." -fi - -echo - -echo "WARNING: This script doesn't automatically install packages anymore." -echo "Please add a package repository and install the packages yourself!" -echo "https://github.com/linux-surface/linux-surface/wiki/Installation-and-Setup#surface-kernel-installation" -echo -echo "You should also check the post installation notes:" -echo "https://github.com/linux-surface/linux-surface/wiki/Installation-and-Setup#post-installation" -echo -echo "If you want to install the packages manually instead:" -echo -echo "Install the patched kernel:" -echo "- SL3/SP7: Use the latest release." -echo "- Other devices: Use the latest 4.19/5.3 release if you want multi-touch" -echo " support. 5.5 only supports pen and single-touch." -echo " https://github.com/linux-surface/linux-surface/releases" -echo -echo "Install the IPTS firmware package:" -echo " https://github.com/linux-surface/surface-ipts-firmware/releases" -echo -echo "Patched libwacom packages are available to better support the pen." -echo "If you intend to use the pen, it's recommended that you install them!" -echo " https://github.com/linux-surface/libwacom-surface-deb/releases"