Skip to content

Commit

Permalink
Add the disconnect hook in disconnect command
Browse files Browse the repository at this point in the history
  • Loading branch information
bill88t committed Jan 1, 2024
1 parent e984891 commit 8439634
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions LjinuxRoot/bin/disconnect.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
term.console.disconnect()
elif term._active == False: # Can be None
# We want to disconnect from a passive console.
ljinux.based.run("runparts /etc/hooks/disconnect.d/")
ljinux.based.command.exec("/LjinuxRoot/bin/_waitforconnection.lja")
term.clear_line()
else:
Expand Down

0 comments on commit 8439634

Please sign in to comment.