From 531412e2448266e1e55faecc5d43c61097a66612 Mon Sep 17 00:00:00 2001 From: Graham Matuszewski Date: Sat, 4 Mar 2023 23:56:36 -0500 Subject: [PATCH] add a setup script this grabs the on-boot-script and moves everything into the correct directories and makes them executable --- setup.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 setup.sh diff --git a/setup.sh b/setup.sh new file mode 100644 index 0000000..d91178e --- /dev/null +++ b/setup.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env sh +curl -fsL "https://raw.githubusercontent.com/unifi-utilities/unifios-utilities/HEAD/on-boot-script/remote_install.sh" | /bin/sh +cp 10-monitor-ppp-mtu.sh /data/on_boot.d/ +chmod +x /data/on_boot.d/10-monitor-ppp-mtu.sh +mkdir -p /data/change-ppp-mtu +cp 11-change-ppp-mtu.sh /data/change-ppp-mtu/ +chmod +x /data/change-ppp-mtu/11-change-ppp-mtu.sh