Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
raspberry_pi:mods:mesh [2017/07/11 18:57] matthias [Mesh config script] added batctl install |
raspberry_pi:mods:mesh [2018/02/23 16:54] (current) matthias [Mesh config script] without cd but use homedir |
||
---|---|---|---|
Line 108: | Line 108: | ||
Create a start/stop script: | Create a start/stop script: | ||
- | cat <<EOF > mesh.service | + | cat <<EOF > ~/mesh.service |
[Unit] | [Unit] | ||
Description=PirateBox Mesh Service | Description=PirateBox Mesh Service | ||
Line 122: | Line 122: | ||
WantedBy=multi-user.target | WantedBy=multi-user.target | ||
EOF | EOF | ||
- | sudo mv mesh.service /etc/systemd/system | + | sudo mv ~/mesh.service /etc/systemd/system |
sudo systemctl daemon-reload | sudo systemctl daemon-reload | ||
sudo systemctl start mesh.service | sudo systemctl start mesh.service |