From 2276e38654df99b38ea562f1b01a436df81ee19b Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Fri, 11 Dec 2015 03:14:41 +0100 Subject: [PATCH] Remove unneeded bashrcs. --- jessie_start_server.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jessie_start_server.sh b/jessie_start_server.sh index a0a8e90..2e9e19e 100755 --- a/jessie_start_server.sh +++ b/jessie_start_server.sh @@ -5,6 +5,9 @@ set -e # Set root pw. passwd +# Remove unused .bashrc. +rm ~/.bashrc + # Post-installation reduction. dpkg-query -Wf '${Package} ${Priority}\n' | grep ' required' | sed 's/ required//' > list_white_unsorted echo 'ifupdown' >> list_white_unsorted @@ -73,6 +76,7 @@ config/symlink.sh # Add user. Remove old user's config/ if it exists. useradd -m -s /bin/bash plom +rm /home/plom/.bashrc rm -rf /home/plom/config su - plom -c 'git clone http://github.com/plomlompom/config /home/plom/config' su plom -c '/home/plom/config/symlink.sh server' -- 2.30.2