cenko.tech

#bash

3 posts tagged bash. All tags

  1. Making apt repository setup fail where the problem is

    2 min

    A Linux bootstrap script kept going when a repo signing key failed to download, so the error showed up later as an unrelated apt failure. Here is the fix.

  2. Only works if your username is "user": fixing hardcoded home paths

    2 min

    A voice-control tool hardcoded /home/user in its scripts and systemd unit, so it broke for every other account. $HOME and systemd's %h fixed it.

  3. An interactive WireGuard server installer

    2 min

    A shell script that installs a WireGuard server, sets up forwarding and NAT, opens the firewall port and creates client configs with QR codes.