Developing lightweight computation at the DSG edge

Commit 8a2b9ff3 authored by p4u's avatar p4u
Browse files

Creates /etc/qmp/.birth file the first time the hooks are called

parent c3208161
......@@ -87,7 +87,7 @@ configure() {
sleep 10
# Execute birth hooks if it is the first boot of the device
[ ! -e "$BIRTH_FILE" ] && exechooks birth
[ ! -e "$BIRTH_FILE" ] && exechooks birth && touch "$BIRTH_FILE"
# Execute firstboot hooks
log "[Executing hooks]"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment