Files
debian/modules/config.sh
2025-10-03 15:51:17 +02:00

16 lines
371 B
Bash
Executable File

#!/bin/bash
echo
echo " => Configuration"
echo
if [ $profile = server ]; then
# Copy scripts
cp scripts/* /usr/local/sbin
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
fi