Skip to content

Instantly share code, notes, and snippets.

@Blackdixxa
Blackdixxa / 10_restore-custom.sh
Last active September 1, 2022 16:52 — forked from LordVeovis/10_restore-custom.sh
Restore custom config into edgerouter
#!/bin/bash
# to be stored into /config/scripts/post-config.d/10_restore-custom.sh
config_root=/config/user-data/root/
cp /config/user-data/root/sbin/dhclient3 /sbin/
dpkg -i /config/user-data/root/unbound_install/*.deb
mkdir /unbound_install
mkdir -p /var/log/vlmcsd