#!/bin/sh mkdir $1/network/ cp -r /etc/netplan $1/network/ #cp /etc/init/network-manager.override $1/network #route -n >> $1/network/route ip route >> $1/network/route #ifconfig >> $1/network/ifconfig ip addr >> $1/network/ifconfig iptables-save >> $1/network/iptables host server >> $1/network/host_server n4d-client -a https://server:9779 call get_methods >> $1/network/n4d_getmethods cp /etc/resolv.conf $1/network/