No description
  • C 75.6%
  • Shell 14%
  • Dockerfile 10.4%
Find a file
2024-04-25 19:13:04 +07:00
buildx.sh fix: add docker login to push on buildx.sh 2024-04-25 19:13:04 +07:00
Dockerfile fix: use alpine to make image only 7mb 2024-04-25 19:13:04 +07:00
LICENSE feat: make simple server to send wol 2024-02-05 21:04:21 +07:00
main.c fix: stdout not flushing when inside docker 2024-04-25 19:13:04 +07:00
readme chore: add docker stuffs to readme 2024-04-25 19:13:04 +07:00

Compile:
    gcc main.c -o wol

Usage:
    ./wol {MAC_ADDRESS} {LISTEN_PORT}


Docker cross compile:
      ./buildx.sh setup
      ./buildx.sh push # then you will be prompted for your docker username and password

Run docker:
    docker run -e MAC_ADDRESS="a8:a1:59:e8:b3:16" -e LISTEN_PORT="5431" username/wol:latest