/etc/config/network
:
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
/etc/config/network
:
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
#!/bin/bash | |
# Check if script is run as root | |
if [ "$EUID" -ne 0 ] | |
then echo "Please run as root" | |
exit | |
fi | |
# Check if required utilities are installed | |
for util in ip iptables ufw dnsmasq; do |
#!/bin/bash | |
# Path to the presets folder | |
presetsFolder="./presets" | |
# Path to defaults.json | |
defaultsPath="./defaults.json" | |
# Temp file for jq output | |
tempFile=$(mktemp) |
#!/bin/bash | |
# Check if an argument has been provided | |
if [ $# -eq 0 ]; then | |
echo "No argument provided. Please enter the .eml file path:" | |
read file_path | |
else | |
file_path=$1 | |
fi |