mirror of
https://github.com/yusufipk/dead-man-message.git
synced 2026-09-11 11:06:08 +00:00
Adding a Config File
1. Ability to configure variables from a JSON file. 2. By default, checkin.sh does not know the value of checkin_file, this commit fixes that. 3. I want to create a web interface, front end, for this project and it is easier for the PHP server to parse the json data.
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
# Save the current timestamp to your checkin file
|
||||
date +%s > ./checkin_file.txt
|
||||
date +%s > "$(jq -r .checkin_file config.json)"
|
||||
echo "Checked in"
|
||||
|
||||
Reference in New Issue
Block a user