Compare commits
2 commits
ab8864f5ff
...
1bdb9e4619
| Author | SHA1 | Date | |
|---|---|---|---|
| 1bdb9e4619 | |||
| 2c8740c973 |
1 changed files with 24 additions and 26 deletions
50
entry.sh
50
entry.sh
|
|
@ -1,30 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
function user_install(){
|
|
||||||
|
|
||||||
dbus-launch dconf write /org/mate/desktop/interface/gtk-theme "'Materia-dark'"
|
|
||||||
dbus-launch dconf write /org/mate/marco/general/theme "'Materia-dark'"
|
|
||||||
dbus-launch dconf write /org/mate/desktop/interface/icon-theme "'Adwaita'"
|
|
||||||
dbus-launch dconf write /org/mate/desktop/peripherals/mouse/cursor-theme "'Adwaita'"
|
|
||||||
|
|
||||||
rsync -a /root/unbox_data/secrets/SSH/ .ssh/
|
|
||||||
|
|
||||||
git clone ssh://git@git.neulandlabor.de:2222/j3d1/laptop_tools.git Tools
|
|
||||||
|
|
||||||
#wget --show-progress -qO ./toolbox.tar.gz https://download.jetbrains.com/toolbox/jetbrains-toolbox-1.20.7940.tar.gz
|
|
||||||
|
|
||||||
#TOOLBOX_TEMP_DIR=$(mktemp -d)
|
|
||||||
|
|
||||||
#tar -C "$TOOLBOX_TEMP_DIR" -xf toolbox.tar.gz
|
|
||||||
#rm ./toolbox.tar.gz
|
|
||||||
|
|
||||||
#"$TOOLBOX_TEMP_DIR"/*/jetbrains-toolbox
|
|
||||||
|
|
||||||
#rm -r "$TOOLBOX_TEMP_DIR"
|
|
||||||
echo
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
function first_stage(){
|
function first_stage(){
|
||||||
set -e
|
set -e
|
||||||
echo foo first_stage
|
echo foo first_stage
|
||||||
|
|
@ -32,7 +7,6 @@ function first_stage(){
|
||||||
echo -n "hostname: "
|
echo -n "hostname: "
|
||||||
read hostname_in
|
read hostname_in
|
||||||
export NEW_HOSTNAME=$hostname_in
|
export NEW_HOSTNAME=$hostname_in
|
||||||
echo
|
|
||||||
|
|
||||||
echo -n "luks password: "
|
echo -n "luks password: "
|
||||||
read -s luks_password_in
|
read -s luks_password_in
|
||||||
|
|
@ -189,6 +163,30 @@ function second_stage(){
|
||||||
echo second_stage done
|
echo second_stage done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function user_install(){
|
||||||
|
|
||||||
|
dbus-launch dconf write /org/mate/desktop/interface/gtk-theme "'Materia-dark'"
|
||||||
|
dbus-launch dconf write /org/mate/marco/general/theme "'Materia-dark'"
|
||||||
|
dbus-launch dconf write /org/mate/desktop/interface/icon-theme "'Adwaita'"
|
||||||
|
dbus-launch dconf write /org/mate/desktop/peripherals/mouse/cursor-theme "'Adwaita'"
|
||||||
|
|
||||||
|
rsync -a /root/unbox_data/secrets/SSH/ .ssh/
|
||||||
|
|
||||||
|
git clone ssh://git@git.neulandlabor.de:2222/j3d1/laptop_tools.git Tools
|
||||||
|
|
||||||
|
#wget --show-progress -qO ./toolbox.tar.gz https://download.jetbrains.com/toolbox/jetbrains-toolbox-1.20.7940.tar.gz
|
||||||
|
|
||||||
|
#TOOLBOX_TEMP_DIR=$(mktemp -d)
|
||||||
|
|
||||||
|
#tar -C "$TOOLBOX_TEMP_DIR" -xf toolbox.tar.gz
|
||||||
|
#rm ./toolbox.tar.gz
|
||||||
|
|
||||||
|
#"$TOOLBOX_TEMP_DIR"/*/jetbrains-toolbox
|
||||||
|
|
||||||
|
#rm -r "$TOOLBOX_TEMP_DIR"
|
||||||
|
echo
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
function post_install_stage(){
|
function post_install_stage(){
|
||||||
sleep 0.5
|
sleep 0.5
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue