minor changes

This commit is contained in:
julien
2025-10-03 15:51:17 +02:00
parent 59e9d5bbd5
commit a53bf922fd
3 changed files with 8 additions and 29 deletions

View File

@@ -1 +0,0 @@
Config from https://git.netig.net/netig/debian

View File

@@ -12,19 +12,4 @@ fi
if [ $profile = desktop ]; then
# Disable all managed interfaces excerpt loopback from /etc/network/interfaces file to allow NetworkManager to manage them
sed -i '/# The primary network interface/Q' /etc/network/interfaces
# Copy user config files
if [ ! -d /etc/skel/.config ]; then
mkdir /etc/skel/.config
fi
cp -r config/. /etc/skel/.config
for f in /home/*
do
if [ ! -d $f/.config ]; then
mkdir $f/.config
fi
cp -r config/. $f/.config
chown -R ${f##*/}:${f##*/} $f/.config
done
fi

21
run.sh
View File

@@ -18,22 +18,9 @@ do
export profile=$answer
case $answer in
server)
modules="repos.sh
updates.sh
firewall.sh
pkgs.sh
docker.sh
zram.sh
config.sh"
break
;;
desktop)
modules="repos.sh
updates.sh
firewall.sh
pkgs.sh
zram.sh
config.sh"
break
;;
* )
@@ -42,6 +29,14 @@ do
esac
done
modules="repos.sh
updates.sh
firewall.sh
pkgs.sh
docker.sh
zram.sh
config.sh"
for i in $modules
do
modules/$i