[misc] move sshd/exfat/axel out of env.sh
This commit is contained in:
parent
8519402db3
commit
060f02c9ef
6
env.sh
6
env.sh
|
@ -66,9 +66,7 @@ case "$PM" in
|
|||
sudo apt install \
|
||||
build-essential \
|
||||
unzip p7zip \
|
||||
openssh-server openssh-client \
|
||||
exfat-utils \
|
||||
axel \
|
||||
openssh-client \
|
||||
man sudo
|
||||
;;
|
||||
pacman)
|
||||
|
@ -76,8 +74,6 @@ case "$PM" in
|
|||
base-devel \
|
||||
unzip p7zip \
|
||||
openssh \
|
||||
exfat-utils \
|
||||
axel \
|
||||
man sudo
|
||||
# install yay
|
||||
if ! which yay; then
|
||||
|
|
|
@ -23,6 +23,10 @@ case "$PM" in
|
|||
bluez bluez-tools blueman pulseaudio-module-bluetooth
|
||||
sudo systemctl enable bluetooth
|
||||
sudo systemctl start bluetooth
|
||||
# system utils
|
||||
sudo apt install \
|
||||
exfat-utils \
|
||||
axel
|
||||
fi
|
||||
;;
|
||||
pacman)
|
||||
|
@ -60,7 +64,10 @@ case "$PM" in
|
|||
sudo systemctl start bluetooth
|
||||
fi
|
||||
# for setting up default programs: exo-preferred-applications
|
||||
sudo pacman -S --needed exo
|
||||
sudo pacman -S --needed
|
||||
exfat-utils \
|
||||
axel \
|
||||
exo
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
21
gui/sshd.sh
Executable file
21
gui/sshd.sh
Executable file
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
|
||||
DIR=$(readlink -f $(dirname $0))
|
||||
. $DIR/../env.sh
|
||||
|
||||
# install sshd
|
||||
case "$PM" in
|
||||
apt)
|
||||
sudo apt install \
|
||||
openssh-server
|
||||
;;
|
||||
pacman)
|
||||
sudo pacman -S --needed \
|
||||
openssh
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
# start network
|
||||
sudo systemctl enable ssh
|
||||
sudo systemctl start ssh
|
Loading…
Reference in New Issue
Block a user