Skip to content

Commit 252da77

Browse files
committed
add /usr/libexec/helper-scripts/system-ready-check-user
1 parent 21b1a60 commit 252da77

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
3+
## Copyright (C) 2025 - 2025 ENCRYPTED SUPPORT LLC <[email protected]>
4+
## See the file COPYING for copying conditions.
5+
6+
# set -o errexit
7+
# set -o nounset
8+
# set -o errtrace
9+
# set -o pipefail
10+
11+
if timeout --kill-after="1" "5" systemctl --user --wait is-system-running; then
12+
exit 0
13+
fi
14+
15+
timeout --kill-after="1" "5" systemctl --user is-system-running

0 commit comments

Comments
 (0)