diff options
author | Karel Kočí <karel.koci@nic.cz> | 2017-04-07 14:56:22 +0200 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2017-04-07 14:56:22 +0200 |
commit | a793b23435567f2d4f49846196ceebcc47cd764c (patch) | |
tree | 5f542d40b11c55ff851724cbab21c27ba7a8ff0d /system_install | |
parent | 6384224250a62e8b1ea913934db5dbae536ce153 (diff) | |
download | myconfigs-a793b23435567f2d4f49846196ceebcc47cd764c.tar.gz myconfigs-a793b23435567f2d4f49846196ceebcc47cd764c.tar.bz2 myconfigs-a793b23435567f2d4f49846196ceebcc47cd764c.zip |
Remove stuff not needed on server
Diffstat (limited to 'system_install')
-rwxr-xr-x | system_install | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/system_install b/system_install deleted file mode 100755 index 1caf757..0000000 --- a/system_install +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash - -if [ "$UID" -ne 0 ]; then - echo "Please run this as root!" >&2 - exit 6 -fi - -cd `dirname $0` - -git submodule update --init || (echo "Submodule update failed!"; exit 5) - -# Source inst and diff function -. ./utils/inst - -################################################################################# - -if [ -e /etc/arch-release ]; then - . ./utils/arch - read -p "Check Archlinux packages? (Y/n) " - if [[ $REPLY =~ ^[Yy]?$ ]]; then - archlinux_inst - fi -fi - -read -p "Laptop ACPI and pm? (Y/n) " -if [[ $REPLY =~ ^[Yy]?$ ]]; 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 - # TODO -fi - -# As final step just ensure that correct user is owning system files -chown -R $(stat -c "%U:%G" "$0") system |