Skip to content

Commit 61e2930

Browse files
authored
Pointing the sample scripts to the right branch (#643)
1 parent 23569c0 commit 61e2930

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

nspawn-container/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ This configuration is only needed if you want to isolate the container's network
114114
115115
```sh
116116
mkdir -p /data/on_boot.d && cd /data/on_boot.d
117-
curl -LO https://raw.githubusercontent.com/unifi-utilities/unifios-utilities/nspawn/nspawn-container/scripts/10-setup-network.sh
117+
curl -LO https://raw.githubusercontent.com/unifi-utilities/unifios-utilities/main/nspawn-container/scripts/10-setup-network.sh
118118
vim 10-setup-network.sh
119119
```
120120
@@ -204,7 +204,7 @@ When the firmware is updated, `/data` (which contains our container storage) and
204204
205205
```sh
206206
mkdir -p /data/on_boot.d && cd /data/on_boot.d
207-
curl -LO https://raw.githubusercontent.com/unifi-utilities/unifios-utilities/nspawn/nspawn-container/scripts/0-setup-system.sh
207+
curl -LO https://raw.githubusercontent.com/unifi-utilities/unifios-utilities/main/nspawn-container/scripts/0-setup-system.sh
208208
chmod +x /data/on_boot.d/0-setup-system.sh
209209
```
210210

nspawn-container/interactive_setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ cd /data/on_boot.d
175175
if [ -f "$file" ] ; then
176176
rm "$file"
177177
fi
178-
curl -LO https://raw.githubusercontent.com/unifi-utilities/unifios-utilities/nspawn/nspawn-container/scripts/10-setup-network.sh
178+
curl -LO https://raw.githubusercontent.com/unifi-utilities/unifios-utilities/main/nspawn-container/scripts/10-setup-network.sh
179179
chmod +x 10-setup-network.sh
180180

181181
cat <<EOF > /etc/systemd/nspawn/"$container_name".nspawn
@@ -232,7 +232,7 @@ function setup_persistence() {
232232
#### Configure Persistence Across Firmware Updates
233233
echo "Configuring Persistence Across Firmware Updates"
234234
cd /data/on_boot.d
235-
curl -LO https://raw.githubusercontent.com/unifi-utilities/unifios-utilities/nspawn/nspawn-container/scripts/0-setup-system.sh
235+
curl -LO https://raw.githubusercontent.com/unifi-utilities/unifios-utilities/main/nspawn-container/scripts/0-setup-system.sh
236236
chmod +x 0-setup-system.sh
237237

238238
mv 0-setup-system.sh 02-setup-system.sh

0 commit comments

Comments
 (0)