aboutsummaryrefslogtreecommitdiff
path: root/lib/vserver.in
AgeCommit message (Collapse)Author
2009-05-23Add a vim modeline with indentation settings.Matthijs Kooijman
The modelines added match the emacs lines already present and also set the filetype to sh (just like the emacs lines).
2009-05-23Make all indentation consistent.Matthijs Kooijman
Previously, there were many indentation styles in use: Real tabs, 2, 3 or 4 spaces, mixing these within the same file, function or even within a single line. This commit changes all bash scripts in the handlers, src and lib dirs to use consistent indentation: three spaces are now used everywhere. Other files (e.g. Makefiles) are left untouched. Additionally, this commit removes all trailing whitespace.
2008-06-24lib/vserver: added vservers_running function, use it in sys handler (to ease ↵intrigeri
future fix for Trac#45)
2007-02-23updated autotools abstraction to properly pick up different awk, sed,Micah Anderson
and md5sum locations
2006-03-15lost+found was not being removed from the list of found_vserversMicah Anderson
because the + was being interpreted by grep -E, I've escaped it so it will properly be removed
2006-02-02lib/vserver.in: fixed #351083 (readlink syntax error)intrigeri
2006-01-19lib/vserver.in: new function: vservers_existintrigeri
handlers/dup: make use of new lib/vserver functionality
2006-01-19lib/vserver.in[init_vservers]: warn if vservers are enabled but no vserver ↵intrigeri
is found
2006-01-17lib/vserver.in [init_vservers] : canonicalize VROOTDIR (since duplicity et ↵intrigeri
al. don't follow symlinks)
2006-01-17lib/vserver.in [init_vservers] : test in a stricter way the real vservers ↵intrigeri
availability
2006-01-17lib/vserver.in: modified init_vservers so that it can also be used by ↵intrigeri
backupninja
2006-01-17lib/vserver.in: enhanced the VROOTDIR discoveryintrigeri
2006-01-17add the Emacs header comment line to lib/*.inintrigeri
2005-12-27 r240@um: micah | 2005-12-27 14:54:04 -0500Micah Anderson
If vservers weren't enabled it was impossible to enter the src menu in ninjahelper due to how these functions returned. This sets the variable host_or_vserver='host' when vservers are not available and then returns with a nice exit code
2005-11-29 r3566@krups: intrigeri | 2005-11-17 21:59:38 +0100intrigeri
ninjahelper: moved (and enhanced) vservers-related functions to lib/vservers. dup.helper, pgsql.helper: use these functions