summaryrefslogtreecommitdiff
path: root/tools/solaris
AgeCommit message (Collapse)AuthorFilesLines
2015-07-14Respect multilib/multiarch filesystem layoutsKylie McClain1-1/+1
Adapted from https://bugs.freedesktop.org/show_bug.cgi?id=24608
2014-10-20Add HybridSleep support and change CanSleepEric Koegel2-0/+5
Emulate the logind API to make it more easier for porting to ConsoleKit2 for the CanSuspend/CanHibernate/CanHybridSleep methods. They now return: yes - system can and user explicitly authorized by polkit, rbac, or neither is running no - system can and user explicitly unauthorized by polkit or rbac challenge - system can and user requires elevation via polkit na - system does not support it (hardware or backend support missing). The auth methods have been removed. Currently HybridSleep only works on Linux.
2014-10-14Add the suspend/hibernate scriptsEric Koegel3-0/+10
Also add the test-inhibit.c file to the repo, oops.
2008-04-18oops one more placeWilliam Jon McCann1-1/+1
2008-04-18install scripts into $(prefix)/lib instead of $libdirWilliam Jon McCann1-1/+1
We don't want scripts going into lib64...
2008-01-28make polkit optional and use RBAC on SolarisBrian Cameron2-20/+2
This patch makes polkit an optional dependency. If present it builds with it. If not, polkit support is disabled. This patch also adds a --enable-rbac-shutdown=<key> option. If set, then ConsoleKit will allow shutdown/reboot if the user has the RBAC key authorization defined. For example, since the GDM GUI program runs as the "gdm" user, setting the key for the "gdm" user allows the login program to shutdown and reboot via ConsoleKit. Also this patch modifies the tools/solaris/ck-system-restart and tools/solaris/ck-system-stop scripts to call "/sbin/init 6" and "/sbin/init 5", which are the right commands for Solaris.
2008-01-22initial stop/restart supportWilliam Jon McCann3-0/+62
Add Stop and Restart methods to the Manager object. We'll rename the Manager object to System in the near future. Use libpolkit to determine authorization.