Skip to content

Commit

Permalink
send an event after bootstrapping by using same startup notifier
Browse files Browse the repository at this point in the history
Signed-off-by: Reuben Miller <reuben.d.miller@gmail.com>
  • Loading branch information
reubenmiller committed Nov 5, 2023
1 parent 11904c0 commit 9fd74d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions images/common/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,9 @@ main() {
done
fi

# use startup notifier to send the startup message after bootstrapping to indicate that thin-edge.io is up and running
sudo systemctl restart startup-notifier >/dev/null 2>&1 ||:

if [ "$BOOTSTRAP" = 1 ] || [ "$CONNECT" = 1 ]; then
display_banner_c8y
fi
Expand Down

0 comments on commit 9fd74d4

Please sign in to comment.