mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:07:45 +00:00
NetworkServer: Add a new NetworkServer service
This service is responsible for loading network configuration from a /etc/Network.ini config file. It sets up static IP address + mask or starts DHCPClient depending on configuration.
This commit is contained in:
parent
e14d4482a1
commit
ddd4547e13
5 changed files with 109 additions and 6 deletions
5
Base/etc/Network.ini
Normal file
5
Base/etc/Network.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
[ep1s0]
|
||||
Enabled=false
|
||||
|
||||
[ep0s8]
|
||||
DHCP=true
|
|
@ -51,6 +51,10 @@ SystemModes=text,graphical
|
|||
MultiInstance=true
|
||||
AcceptSocketConnections=true
|
||||
|
||||
[NetworkServer]
|
||||
User=root
|
||||
SystemModes=text,graphical,self-test
|
||||
|
||||
[LookupServer]
|
||||
Socket=/tmp/portal/lookup
|
||||
SocketPermissions=660
|
||||
|
@ -59,12 +63,6 @@ KeepAlive=true
|
|||
User=lookup
|
||||
SystemModes=text,graphical,self-test,generate-manpages
|
||||
|
||||
[DHCPClient]
|
||||
Priority=low
|
||||
KeepAlive=true
|
||||
User=root
|
||||
SystemModes=text,graphical,self-test
|
||||
|
||||
[NotificationServer]
|
||||
Socket=/tmp/portal/notify
|
||||
SocketPermissions=600
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue