summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0ad376c)
raw | patch | inline | side by side (parent: 0ad376c)
author | Sebastian Harl <sh@tokkee.org> | |
Wed, 2 May 2007 06:12:09 +0000 (08:12 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 2 May 2007 06:12:09 +0000 (08:12 +0200) |
Reserved swap is only available on Solaris.
debian/collectd.postinst | patch | blob | history |
index 122068a943a960762b08c5f63c6590db63d0291a..2f4d55cc076a10d6ed115ccc12f06d46e4d9aab0 100755 (executable)
--- a/debian/collectd.postinst
+++ b/debian/collectd.postinst
mkdir /var/lib/collectd/
mv $tmpdir /var/lib/collectd/rrd
chmod 0755 /var/lib/collectd/rrd
+
+ # this is only available on Solaris using libkstat
+ rm -f /var/lib/collectd/rrd/$hostname/swap/swap-reserved.rrd
fi
;;