fix: autostart fresh
This commit is contained in:
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
|
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
|
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
|
# basically a shitty one time job, which does not work, seems like root does not source .bashrc
|
||||||
echo '/root/fresh/fresh.sh' > .bashrc
|
echo '/root/fresh/fresh.sh' > .bash_profile
|
||||||
chmod 700 .bashrc
|
|
||||||
|
|
||||||
exit
|
exit
|
||||||
EOF
|
EOF
|
||||||
|
1
fresh.sh
1
fresh.sh
@ -244,6 +244,7 @@ set_system_stuff() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
set_root_bashrc() {
|
set_root_bashrc() {
|
||||||
|
echo ". /root/.bashrc" > /root/.bash_profile
|
||||||
cat <<EOF > /root/.bashrc
|
cat <<EOF > /root/.bashrc
|
||||||
# Fix for tramp connections
|
# Fix for tramp connections
|
||||||
[ $TERM = "dumb" ] && return
|
[ $TERM = "dumb" ] && return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user