blob: d909884d205736f483e7a7cc07fb5afbada36986 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
#
# Check can do power operations from the greeter
#
#?RUNNER DAEMON-START
# X server starts
#?XSERVER-0 START
#?XSERVER-0 INDICATE-READY
# LightDM connects to X server
#?XSERVER-0 ACCEPT-CONNECT
# Greeter starts
#?GREETER-X-0 START
#?XSERVER-0 ACCEPT-CONNECT
#?GREETER-X-0 CONNECT-XSERVER
#?GREETER-X-0 CONNECT-TO-DAEMON
#?GREETER-X-0 CONNECTED-TO-DAEMON
# See if can suspend
#?*GREETER-X-0 GET-CAN-SUSPEND
#?LOGIN1 CAN-SUSPEND
#?GREETER-X-0 CAN-SUSPEND ALLOWED=TRUE
# Suspend
#?*GREETER-X-0 SUSPEND
#?LOGIN1 SUSPEND
# See if can hibernate
#?*GREETER-X-0 GET-CAN-HIBERNATE
#?LOGIN1 CAN-HIBERNATE
#?GREETER-X-0 CAN-HIBERNATE ALLOWED=TRUE
# Hibernate
#?*GREETER-X-0 HIBERNATE
#?LOGIN1 HIBERNATE
# See if can restart
#?*GREETER-X-0 GET-CAN-RESTART
#?LOGIN1 CAN-REBOOT
#?GREETER-X-0 CAN-RESTART ALLOWED=TRUE
# Restart
#?*GREETER-X-0 RESTART
#?LOGIN1 REBOOT
# See if can shutdown
#?*GREETER-X-0 GET-CAN-SHUTDOWN
#?LOGIN1 CAN-POWER-OFF
#?GREETER-X-0 CAN-SHUTDOWN ALLOWED=TRUE
# Shutdown
#?*GREETER-X-0 SHUTDOWN
#?LOGIN1 POWER-OFF
# Cleanup
#?*STOP-DAEMON
#?GREETER-X-0 TERMINATE SIGNAL=15
#?XSERVER-0 TERMINATE SIGNAL=15
#?RUNNER DAEMON-EXIT STATUS=0
|