mirror of
https://github.com/dirtbags/moth.git
synced 2025-01-07 04:20:39 -07:00
11 lines
191 B
Bash
Executable file
11 lines
191 B
Bash
Executable file
#! /bin/sh -e
|
|
|
|
exec 2>&1
|
|
|
|
install -o ctf -m 0644 /dev/null /var/lib/ctf/puzzles.db
|
|
install -d /var/www
|
|
|
|
# Make an initial listing
|
|
./puzzled
|
|
|
|
exec inotifyd ./puzzled /var/lib/ctf/puzzles.db:w
|