summaryrefslogtreecommitdiffstats
path: root/remote/modules/idleaction
Commit message (Collapse)AuthorAgeFilesLines
* [idleaction] Warn user about scheduled reboot/poweroff and delay by 5 minutesSimon Rettberg2016-01-144-15/+80
|
* [idleaction] Use proper shutdown and rebootSimon Rettberg2016-01-123-3/+3
| | | | This has been working reliably for a while now
* Touch /etc/cron.d after adding/modifying files, so cron will rescan the dirSimon Rettberg2016-01-121-4/+1Star
|
* [idleaction] Fix automatic shutdown when logout timeout AND shutdown timeout ↵Simon Rettberg2015-09-131-9/+15
| | | | are both set
* Hardwired path of whoami/id/getent, but we should check all scripts and ↵Simon Rettberg2015-05-181-1/+1
| | | | force PATH in critical ones
* [idleaction] Check if timeouts are > 0Simon Rettberg2015-02-121-2/+2
|
* new 'stage32-headless' target. Started centos support. WIPJonathan Bauer2014-07-171-0/+6
| | | | Use stage32-headless to build on CentOS. Stage32-bwlp won't work yet.
* [idleaction] Restart cron daemon after creating new crontabSimon Rettberg2014-07-151-0/+4
| | | | | Actually the cron should automatically find new or changed files, however, on some machines this reproducibly doesn't happen.
* Merge branch 'master' of git://git.openslx.org/openslx-ng/tm-scriptsSimon Rettberg2014-07-041-0/+6
|\
| * [debian] started debian supportJonathan Bauer2014-07-031-0/+6
| | | | | | | | TODO: chroot.inc with overlayfs support as its officially not in debian's repos
* | "Fedora Support", step 1 ->Simon Rettberg2014-07-041-0/+6
|/ | | | | | | | | | | | | | | | Several changes: 1) Make sure /bin /sbin /lib and /lib64 are ALWAYS symlinks to /usr/XXX, no matter what the current distribution does. 2) Make sure nobody and nogroup exist. 3) Fix various modules making assumptions that are not true on every distro. 4) Add symlinks to kdm module since fedora is looking for kdmrc in yet another spot. 5) Add detection of fedora, support its package manager What still breaks: dnbd3 Other distros might not work now, they need adaption to changed logic in some modules.
* don't split busybox applets in /usr.Jonathan Bauer2014-07-012-2/+2
| | | | | | all busybox stuff is now under /bin and /sbin. We create links for all applets in stage32's /bin and /sbin. This fixes the "no such file" errors caused by hardcoded calls (e.g. /bin/rm) in a some binaries.
* [idleaction] added support for SLX_REBOOT_SHUTDOWNJonathan Bauer2014-03-252-1/+18
|
* woopsie, the return ;)Jonathan Bauer2014-03-254-32/+0Star
|
* [modules] new module naming conventionJonathan Bauer2014-03-254-0/+32
| | | | rename $MODULE.{conf,build} to module.{conf,build}
* [idleaction] updated conf file for openSuse - builds nowChristian Rößler2014-01-171-1/+1
|
* Add path and shell just to be safeSimon Rettberg2014-01-031-0/+3
|
* [idleaction] Set proper pathSimon Rettberg2014-01-031-0/+1
|
* [idleaction] Add scheduled shutdown functionality (still WIP)Simon Rettberg2013-12-222-2/+28
|
* [idleaction] New module (WORK IN PROGESS)Simon Rettberg2013-12-227-0/+271
idleaction is supposed to check if the machine is in use and trigger certain actions if not It can terminate sessions that have been idle for a certain amount of time, and it can shutdown the computer if no user logged in for some time. In the future it will also be able to forcefully shut down the computer at a given time of day.