mirror of
https://github.com/sunknudsen/privacy-guides.git
synced 2025-02-22 16:53:56 +00:00
Fixed typo
This commit is contained in:
parent
d02d4b2378
commit
b8d805ef66
@ -78,7 +78,7 @@ EOF
|
||||
|
||||
> WARNING: DO NOT RUN THE FOLLOWING COMMANDS AS-IS.
|
||||
|
||||
Run `diskutil list` to find disk ID of SD card to override with “Raspberry Pi OS Lite” (`disk2` in the following example).
|
||||
Run `diskutil list` to find disk ID of SD card to overwrite with “Raspberry Pi OS Lite” (`disk2` in the following example).
|
||||
|
||||
Replace `diskn` and `rdiskn` with disk ID of SD card (`disk2` and `rdisk2` in the following example) and `2021-03-04-raspios-buster-armhf-lite.img` with current image.
|
||||
|
||||
|
@ -49,7 +49,7 @@ Status: Enabled
|
||||
|
||||
👍
|
||||
|
||||
### Step 3: backup and override `/etc/pf.conf`
|
||||
### Step 3: backup and overwrite `/etc/pf.conf`
|
||||
|
||||
> Heads-up: software updates will likely restore `/etc/pf.conf` to default. Remember to check `/etc/pf.conf` using `cat /etc/pf.conf` after updates and test kill switch.
|
||||
|
||||
|
@ -157,7 +157,7 @@ STRONGSWAN_CLIENT_NAME=bob
|
||||
STRONGSWAN_SERVER_IP=185.193.126.203
|
||||
```
|
||||
|
||||
#### Backup and override `/etc/ipsec.conf`
|
||||
#### Backup and overwrite `/etc/ipsec.conf`
|
||||
|
||||
```shell
|
||||
cp /etc/ipsec.conf /etc/ipsec.conf.backup
|
||||
@ -180,7 +180,7 @@ conn ikev2
|
||||
EOF
|
||||
```
|
||||
|
||||
#### Backup and override `/etc/ipsec.secrets`
|
||||
#### Backup and overwrite `/etc/ipsec.secrets`
|
||||
|
||||
```shell
|
||||
cp /etc/ipsec.secrets /etc/ipsec.secrets.backup
|
||||
|
@ -561,13 +561,15 @@ Insert micro SD card into macOS computer, run following and eject card.
|
||||
```shell
|
||||
volume_path="/Volumes/boot"
|
||||
volume_uuid=$(diskutil info "$volume_path" | awk '/Volume UUID:/ { print $3 }')
|
||||
echo "UUID=$volume_uuid none msdos rw,noauto" | sudo tee -a /etc/fstab
|
||||
echo "UUID=$volume_uuid none msdos ro,noauto" | sudo tee -a /etc/fstab
|
||||
```
|
||||
|
||||
### Step 22 (optional): compute SHA512 hash of micro SD card and store in password manager (on macOS)
|
||||
### Step 22 (optional): compute SHA512 hash of SD card and store in password manager (on macOS)
|
||||
|
||||
Run `diskutil list` to find disk ID of micro SD card with “Raspberry Pi OS Lite” installed (`disk2` in the following example).
|
||||
|
||||
Replace `diskn` and `rdiskn` with disk ID of SD card (`disk2` and `rdisk2` in the following example).
|
||||
|
||||
```console
|
||||
$ diskutil list
|
||||
/dev/disk0 (internal, physical):
|
||||
|
@ -473,7 +473,7 @@ Separate nameservers using commas with no leading spaces (example: `93.95.224.28
|
||||
STRONGSWAN_DNS_NAMESERVERS=95.215.19.53
|
||||
```
|
||||
|
||||
#### Backup and override `/etc/ipsec.conf`
|
||||
#### Backup and overwrite `/etc/ipsec.conf`
|
||||
|
||||
```shell
|
||||
cp /etc/ipsec.conf /etc/ipsec.conf.backup
|
||||
@ -547,7 +547,7 @@ conn ikev2
|
||||
EOF
|
||||
```
|
||||
|
||||
#### Backup and override `/etc/ipsec.secrets`
|
||||
#### Backup and overwrite `/etc/ipsec.secrets`
|
||||
|
||||
```shell
|
||||
cp /etc/ipsec.secrets /etc/ipsec.secrets.backup
|
||||
@ -556,7 +556,7 @@ cat << "EOF" > /etc/ipsec.secrets
|
||||
EOF
|
||||
```
|
||||
|
||||
#### Backup and override `/etc/strongswan.d/charon-logging.conf`
|
||||
#### Backup and overwrite `/etc/strongswan.d/charon-logging.conf`
|
||||
|
||||
```shell
|
||||
cp /etc/strongswan.d/charon-logging.conf /etc/strongswan.d/charon-logging.conf.backup
|
||||
@ -576,7 +576,7 @@ charon {
|
||||
EOF
|
||||
```
|
||||
|
||||
#### Backup and override `/etc/strongswan.d/charon/dhcp.conf`
|
||||
#### Backup and overwrite `/etc/strongswan.d/charon/dhcp.conf`
|
||||
|
||||
```shell
|
||||
cp /etc/strongswan.d/charon/dhcp.conf /etc/strongswan.d/charon/dhcp.conf.backup
|
||||
|
Loading…
x
Reference in New Issue
Block a user