index
netdoor-server
this is the server or door side that opens the door for netdoor-client,
it takes the computer's user account system to verify if a user is allowed access or not.
it will open the door for every user but only root can change settings
this computer should be hidden from the users and not be accessable by unauthorized people
config file location:/etc/netdoor-server/netdoor-server.sys

/bin/netdoor-server.sh alias "netdoor"
options:
start - starts the server
stop - stops the server
set - changes a config setting
- set time Number - sets the door timer to Number
- set side X - sets the door side, can be :left, right, top, bottom, front, back

Installation instructions
prepairing the system:
you need an advanced computer, the program requires opening new tabs to function
you need to set up the login system, you can do this by running config set login true
you also need a working CCdns server for the door to be found

Install and config:
next, install the program by running mapt install netdoor-client, the dependency's will auto follow
now we can configure the program, we can do this trough the binary
run netdoor-server set time 5 - replace the number if you like
run netdoor-server set side left - replace left with the side your wires are on

registering on the CCdns server:
we need to make the computer findable and name it, we should do this first. This requires your ccDns-server to be running.
use the following command:
dns register name id owner use - replace the values,
name: the computer name, this is what you call in the client
id : the computer id
owner: who owns this computer
use : description of the computer

you can now start your server by either restarting the computer or running netdoor-server start

note: you can change the login system from local to networked, in this case "admins" count as root user.