11 lines
284 B
Bash
Executable File
11 lines
284 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo
|
|
echo " => Configuration"
|
|
echo
|
|
|
|
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
|