Skip to content

Commit cfa6d13

Browse files
authored
readme: add cd, move sudo, clarify script update process (#49)
Fixes #48 Signed-off-by: Erisa A <erisa@tailscale.com>
1 parent dc6c30e commit cfa6d13

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

readme.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@ automatically on boot (no need to enter desktop mode).
66

77
## Installing Tailscale
88

9-
1. Clone this repo to your Deck.
10-
2. Run `sudo bash tailscale.sh` to install Tailscale (or update the existing
9+
1. Clone this repo to your Deck, switch to root and enter the directory:
10+
1. `git clone htps://github.com/tailscale-dev/deck-tailscale.git ~/deck-tailscale`
11+
2. `sudo -i`
12+
3. `cd ~deck/deck-tailscale`
13+
2. Run `bash tailscale.sh` to install Tailscale (or update the existing
1114
installation).
1215
3. Run `source /etc/profile.d/tailscale.sh` to put the binaries in your path
13-
4. Run `sudo tailscale up --qr --operator=deck --ssh` to have Tailscale generate
16+
4. Run `tailscale up --qr --operator=deck --ssh` to have Tailscale generate
1417
a login QR code. Scan the code with your phone and authenticate with
1518
Tailscale to bring your Deck onto your network.
1619

@@ -24,9 +27,15 @@ If it doesn't, keep reading.
2427
> Tailscale SSH, as it seems to be locked in a chroot jail. You should start and
2528
> connect through the standard SSH server instead, but remember to stop it when
2629
> you're done.
27-
> [Suggestions for how to fix this are welcomed.](https://github.com/legowerewolf/deck-tailscale/issues/2)
30+
> [Suggestions for how to fix this are welcomed.](https://github.com/tailscale-dev/deck-tailscale/issues/2)
2831
29-
1. Git fetch and pull to make sure you're up to date.
32+
## Updating the install script
33+
34+
To benefit from improvements to the install script, consider rerunning it from time to time.
35+
36+
1. Git fetch and pull to make sure you're up to date:
37+
1. `cd ~/deck-tailscale`
38+
2. `git pull`
3039
2. Run `sudo bash tailscale.sh` again.
3140

3241
This process overwrites the existing binaries and service file, so it's not

0 commit comments

Comments
 (0)