diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2026-11-13 23:27:52 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2026-11-14 10:48:41 +0100 |
| commit | f8f2b60fcc7349ccdd4c67b0e020ea608207fe38 (patch) | |
| tree | 692dd32e91410de8efc8294e5949a021efa81b1b /scripts | |
| parent | 9ffcb8c3e7b0020e252cce3f4c66efedca9a977d (diff) | |
| download | config-f8f2b60fcc7349ccdd4c67b0e020ea608207fe38.tar.gz config-f8f2b60fcc7349ccdd4c67b0e020ea608207fe38.zip | |
Fix
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/setup-config-alpine | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/scripts/setup-config-alpine b/scripts/setup-config-alpine index ab2ef60..7debb39 100755 --- a/scripts/setup-config-alpine +++ b/scripts/setup-config-alpine | |||
| @@ -141,10 +141,15 @@ doas rc-service bluetooth start | |||
| 141 | print_log "Setting up SyncThing" | 141 | print_log "Setting up SyncThing" |
| 142 | 142 | ||
| 143 | tmp_syncthing_file=$(mktemp) | 143 | tmp_syncthing_file=$(mktemp) |
| 144 | doas print 'SYNCTHING_USER="sebastiano"\n' > "$tmp_syncthing_file" | 144 | doas printf 'SYNCTHING_USER="sebastiano"\n' > "$tmp_syncthing_file" |
| 145 | mv "$tmp_syncthing_file" /etc/conf.d/syncthing | 145 | doas mv "$tmp_syncthing_file" /etc/conf.d/syncthing |
| 146 | doas rc-update add syncthing | 146 | doas rc-update add syncthing |
| 147 | doas rc-service start syncthing | 147 | doas rc-service syncthing start |
| 148 | |||
| 149 | |||
| 150 | print_log "Creating mail directory" | ||
| 151 | |||
| 152 | mkdir -p mail | ||
| 148 | 153 | ||
| 149 | 154 | ||
| 150 | print_log "Generating SSH keys" | 155 | print_log "Generating SSH keys" |
| @@ -161,11 +166,11 @@ echo " 1. Connect to WiFi again. The default network manager has been" | |||
| 161 | echo " replaced by iwd." | 166 | echo " replaced by iwd." |
| 162 | echo " 2. Add your SSH key to various servers, namely:" | 167 | echo " 2. Add your SSH key to various servers, namely:" |
| 163 | echo " 1a. Artemisia" | 168 | echo " 1a. Artemisia" |
| 164 | echo " 1b. pizoc (both regular user and git)" | 169 | echo " 1b. palmar (both regular user and git)" |
| 165 | echo " 1c. github" | 170 | echo " 1c. github" |
| 166 | echo " 1d. lampone" | 171 | echo " 1d. lampone" |
| 167 | echo " 3. Share folders in SyncThing, including but not limited to:" | 172 | echo " 3. Share folders in SyncThing, including but not limited to:" |
| 168 | echo " 2a. box with Artemisia, pizoc and phone" | 173 | echo " 2a. box with Artemisia, palmar and phone" |
| 169 | echo " 2b. file-drop with phone" | 174 | echo " 2b. file-drop with phone" |
| 170 | echo " 4. Copy your mailbox.org password to .ssh/mailbox.org." | 175 | echo " 4. Copy your mailbox.org password to .ssh/mailbox.org." |
| 171 | echo " 5. Log into Firefox account and set up extensions, if needed." | 176 | echo " 5. Log into Firefox account and set up extensions, if needed." |
