Commit Graph

22 Commits

Author SHA1 Message Date
intrigeri
7dce2f1138 sys: only run mdadm if RAID devices actually exist (Closes: #572450) 2010-03-06 15:27:34 +01:00
Matthijs Kooijman
78884142e7 Add a vim modeline with indentation settings.
The modelines added match the emacs lines already present and also set
the filetype to sh (just like the emacs lines).
2009-05-23 10:42:20 +02:00
Matthijs Kooijman
4ecaae9405 Make all indentation consistent.
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.
2009-05-23 10:34:16 +02:00
intrigeri
386c427594 sys: backup dmsetup info as well, for easier restoring of Luks headers 2009-01-22 23:37:50 +00:00
intrigeri
772af74c80 sys: new lvm option to backup LVM metadata of every detected volume group 2009-01-22 22:15:13 +00:00
intrigeri
36854a51d4 sys: new luksheaders option to backup the Luks header of every Luks device 2009-01-22 22:14:22 +00:00
intrigeri
947b6f03ff sys: explain how to fix the issue on "debconf-get-selections missing" error 2008-06-29 07:01:29 +00:00
intrigeri
ddce1197cb sys: make debconf-get-selections detection on VServers really more robust 2008-06-25 09:21:11 +00:00
intrigeri
edeb50c733 sys: fix catifexec invocations with arguments to prevent "line 191: [: too many arguments" error messages 2008-06-25 09:07:30 +00:00
intrigeri
755c0160d4 sys: make error message clearer when debconf-get-selections can not be found on the host 2008-06-25 09:02:06 +00:00
intrigeri
3f29d82b6c sys: typo 2008-06-25 09:01:20 +00:00
intrigeri
f1cb4e9a64 sys: fixed debconf-get-selections search in VServers, especially in case it is not available on the host 2008-06-25 09:00:04 +00:00
intrigeri
1d930270d0 sys: fix typo 2008-06-25 08:47:48 +00:00
Micah Anderson
b499255f8a fix missing which that intrigeri saw 2008-06-24 20:31:58 +00:00
Micah Anderson
910abf33c7 added more robust mdadm raid device capture, by actually scanning active arrays via mdadm, rather than just catting the mdadm.conf file, which may be empty 2008-06-24 19:57:31 +00:00
Micah Anderson
4d81bb451c fixed catifexec function to actually work, also now takes arguments that are passed, thanks to a report from John Hallam 2008-06-24 19:53:36 +00:00
Micah Anderson
33ff4f7506 add the ability to save the debconf package selection states in the sys handler, which aides in restoring installed packages with the right choices made 2008-06-24 18:57:39 +00:00
intrigeri
fd6796ad99 sys: support selection of VServers to run on with the new vsnames configuration option (Closes: Trac#45) 2008-06-24 16:05:44 +00:00
intrigeri
6c628e78f4 lib/vserver: added vservers_running function, use it in sys handler (to ease future fix for Trac#45) 2008-06-24 15:49:06 +00:00
intrigeri
56617bfc5b sys: update for 2.6 kernels: use /proc/kallsyms instead of /proc/ksyms (Closes: Trac#39) 2008-06-24 15:13:51 +00:00
Micah Anderson
3f2a826652 fixed Trac #1, actually add example.rsync 2007-11-24 21:32:30 +00:00
intrigeri
579ea902ba fixed autotools build, broken since r466, inhandlers/Makefile.am 2007-10-12 17:06:09 +00:00