mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
Update interactive_setup.sh
security fix
This commit is contained in:
parent
c1acd05bac
commit
e253a6e0e4
@ -175,7 +175,7 @@ cd /data/on_boot.d
|
|||||||
if [ -f "$file" ] ; then
|
if [ -f "$file" ] ; then
|
||||||
rm "$file"
|
rm "$file"
|
||||||
fi
|
fi
|
||||||
curl -LO https://raw.githubusercontent.com/peacey/unifios-utilities/nspawn/nspawn-container/scripts/10-setup-network.sh
|
curl -LO https://raw.githubusercontent.com/unifi-utilities/unifios-utilities/nspawn/nspawn-container/scripts/0-setup-system.sh
|
||||||
chmod +x 10-setup-network.sh
|
chmod +x 10-setup-network.sh
|
||||||
|
|
||||||
cat <<EOF > /etc/systemd/nspawn/"$container_name".nspawn
|
cat <<EOF > /etc/systemd/nspawn/"$container_name".nspawn
|
||||||
@ -232,7 +232,7 @@ function setup_persistence() {
|
|||||||
#### Configure Persistence Across Firmware Updates
|
#### Configure Persistence Across Firmware Updates
|
||||||
echo "Configuring Persistence Across Firmware Updates"
|
echo "Configuring Persistence Across Firmware Updates"
|
||||||
cd /data/on_boot.d
|
cd /data/on_boot.d
|
||||||
curl -LO https://raw.githubusercontent.com/peacey/unifios-utilities/nspawn/nspawn-container/scripts/0-setup-system.sh
|
curl -LO https://raw.githubusercontent.com/unifi-utilities/unifios-utilities/nspawn/nspawn-container/scripts/0-setup-system.sh
|
||||||
chmod +x 0-setup-system.sh
|
chmod +x 0-setup-system.sh
|
||||||
|
|
||||||
mv 0-setup-system.sh 02-setup-system.sh
|
mv 0-setup-system.sh 02-setup-system.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user