Skip to content

Commit c8a4941

Browse files
committed
Fix nohup
Signed-off-by: Lup Yuen Lee <luppy@appkaki.com>
1 parent a931a60 commit c8a4941

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/tftp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ sudo $HOME/.cargo/bin/tftpd \
9696
-d "$HOME/tftproot"
9797

9898
## Or use `nohup` to keep it running continuously
99-
nohup sudo $HOME/.cargo/bin/tftpd --duplicate-packets 1 -i 0.0.0.0 -p 69 -d "$HOME/tftproot"
99+
nohup sudo $HOME/.cargo/bin/tftpd --duplicate-packets 1 -i 0.0.0.0 -p 69 -d "$HOME/tftproot" &
100100
```
101101

102102
[(__`duplicate-packets`__ is needed to prevent TFTP Timeouts)](https://lupyuen.github.io/articles/tftp2#send-everything-twice)

src/tftp2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ sudo --preserve-env \
140140
-d /tftpboot
141141

142142
## Or use `nohup` to keep it running continuously
143-
## nohup sudo --preserve-env $HOME/.cargo/bin/cargo run -- -i 0.0.0.0 -p 69 -d /tftpboot
143+
## nohup sudo --preserve-env $HOME/.cargo/bin/cargo run -- -i 0.0.0.0 -p 69 -d /tftpboot &
144144

145145
## Test our TFTP Server
146146
## TODO: Change `192.168.x.x` to your TFTP Server Address
@@ -195,7 +195,7 @@ sudo $HOME/.cargo/bin/tftpd \
195195
-d "$HOME/tftproot"
196196

197197
## Or use `nohup` to keep it running continuously
198-
nohup sudo $HOME/.cargo/bin/tftpd --duplicate-packets 1 -i 0.0.0.0 -p 69 -d "$HOME/tftproot"
198+
nohup sudo $HOME/.cargo/bin/tftpd --duplicate-packets 1 -i 0.0.0.0 -p 69 -d "$HOME/tftproot" &
199199
```
200200

201201
[(See the __Pull Request__)](https://github.com/altugbakan/rs-tftpd/pull/7)

0 commit comments

Comments
 (0)