Add mod: setnet

This commit is contained in:
Fierelier 2023-08-23 08:15:54 +02:00
parent 7896142036
commit f3eada9370
2 changed files with 27 additions and 0 deletions

16
mods/setnet/data/chroot Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env bash
command -v wget >/dev/null
WGET_INSTALL="$?"
set -e
if [ "$WGET_INSTALL" = "1" ]; then
apt-get -y install wget
fi
wget "https://pkgmaster.devuan.org/devuan/pool/main/s/setnet/setnet_0.4.0-1_all.deb"
apt-get -y install "./setnet_0.4.0-1_all.deb"
rm "./setnet_0.4.0-1_all.deb"
if [ "$WGET_INSTALL" = "1" ]; then
apt-get -y remove --purge --auto-remove wget
fi

View File

@ -0,0 +1,11 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=setnet.sh
Comment=Configure Networking (LAN/WiFi)
Exec=x-terminal-emulator -e "sudo setnet.sh"
Icon=preferences-system-network
Path=
Terminal=false
StartupNotify=false
Categories=Settings;HardwareSettings;