Skip to content

Commit

Permalink
Remove "Finish Deployment" section. Adding the group snodec is now in…
Browse files Browse the repository at this point in the history
…tegrated in the postinst script of the package
  • Loading branch information
VolkerChristian committed Jul 27, 2023
1 parent 43a3e18 commit 8a47de3
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -652,12 +652,11 @@ It is a good idea to utilize all processor cores and threads for compilation. Th

As starting point it is assumed that local **ssh** and **sftp** access to the router exist and that the router is connected to the **Internet** via the **WAN** port.

Deploying SNode.C **for the first time** on an OpenWRT router involves four tasks:
Deploying SNode.C **for the first time** on an OpenWRT router involves three tasks:

1. Cross Compile SNode.C
2. Prepare Deployment
3. Deploy SNode.C
4. Finish Deployment

**Subsequent** deployments involve only two tasks:

Expand Down Expand Up @@ -810,22 +809,10 @@ exit

on the router. Use the option `--force-reinstall` in cast you want to reinstall the same version by overwriting the currently installed files.

### Finish Deployment (only once)

The last step, which also must be executed only once, creates a new unix group named **snodec** with a free to choose group-id **\<gid\>** and adds the user **root** to that group. The group **snodec** does not have to be a system group.

```sh
ssh root@<router-ip>
echo "snodec:x:<gid>:root" >> /etc/group
exit
```

This new group is used in the group management of config-, log-, and pid-files.
During package installation a new *unix group* with member *root* is created used in the group management of config-, log-, and pid-files.

***Note:*** A logout/login is necessary to activate the new group assignment.

***Warning:*** Choose a group-id not already used.

# Design Decisions and Features

- Easy to use and extend
Expand Down

0 comments on commit 8a47de3

Please sign in to comment.