Developing lightweight computation at the DSG edge

Commit abc1f238 authored by p4u's avatar p4u
Browse files

Modified init script to generate qmp_key each boot

parent 30b20498
......@@ -21,6 +21,7 @@
START=99
CONTROL_FILE="/qmp_configured"
QMP_DIR="/etc/qmp"
QMP_KEY="/tmp/qmp_key"
configure() {
echo "Starting qmp configuration..."
......@@ -51,6 +52,7 @@ configure() {
#This function is executed in each boot
startup() {
$QMP_DIR/qmp_control.sh apply_netserver
logread | md5sum | awk '{print $1}' > $QMP_KEY
}
start() {
......
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