fix: autostart fresh

master
Toerd@archlinux 5 years ago
parent ef979e1892
commit 2e2895a8a6

@ -128,9 +128,8 @@ reflector --country 'Germany' --sort rate --protocol https --save /etc/pacman.d/
printf "${PASSWD}\n${PASSWD}\n" | passwd root
cd && curl -L https://g.phga.de/toerd/fresh/archive/master.tar.gz -o fresh.tar.gz && tar -xzf fresh.tar.gz
# basically a shitty one time job
echo '/root/fresh/fresh.sh' > .bashrc
chmod 700 .bashrc
# basically a shitty one time job, which does not work, seems like root does not source .bashrc
echo '/root/fresh/fresh.sh' > .bash_profile
exit
EOF

@ -244,6 +244,7 @@ set_system_stuff() {
}
set_root_bashrc() {
echo ". /root/.bashrc" > /root/.bash_profile
cat <<EOF > /root/.bashrc
# Fix for tramp connections
[ $TERM = "dumb" ] && return

Loading…
Cancel
Save