Compare commits

...

2 Commits

Author SHA1 Message Date
Emilis Dambauskas ff89d1ab5c Switched to ncat server by default. 2020-11-29 17:45:15 +02:00
Emilis Dambauskas 3c82f072c2 Fixed date call to a BusyBox compatible. 2020-11-29 17:45:05 +02:00
3 changed files with 4 additions and 3 deletions

View File

@ -11,7 +11,7 @@ default: server
### Server ---------------------------------------------------------------------
.PHONY: server
server: socat-server
server: ncat-server
.PHONY: ncat-server

View File

@ -8,9 +8,10 @@
## Usage
`make` - Starts a socat server.
`make` - Starts an ncat server.
`make ncat-server` Starts a ncat server.
`make socat-server` Starts a socat server.
Edit _srv/main.awk_ to match your needs.

View File

@ -18,7 +18,7 @@ REQUEST_PATH == "/" {
link( "/test123", "A test page" );
println( "Updated " \
exec_to_string( "date --iso-8601=seconds" ) \
exec_to_string( "date -Iseconds" ) \
);
response_ok();