summaryrefslogtreecommitdiffstats
path: root/abs/core/mdadm/mdadm.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 17:36:10 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 17:36:10 (GMT)
commit9bf6461124e215b2cbff57dd0f514dac5dfc0174 (patch)
tree214ec9084a8122b167d316c49f34072d25c3a008 /abs/core/mdadm/mdadm.install
parentd959d709bde5168e9d8bbfba7affd622ced1e6b4 (diff)
downloadlinhes_pkgbuild-9bf6461124e215b2cbff57dd0f514dac5dfc0174.zip
linhes_pkgbuild-9bf6461124e215b2cbff57dd0f514dac5dfc0174.tar.gz
linhes_pkgbuild-9bf6461124e215b2cbff57dd0f514dac5dfc0174.tar.bz2
mdadm 3.2.5
Diffstat (limited to 'abs/core/mdadm/mdadm.install')
-rw-r--r--abs/core/mdadm/mdadm.install19
1 files changed, 0 insertions, 19 deletions
diff --git a/abs/core/mdadm/mdadm.install b/abs/core/mdadm/mdadm.install
deleted file mode 100644
index cfeed3c..0000000
--- a/abs/core/mdadm/mdadm.install
+++ /dev/null
@@ -1,19 +0,0 @@
-# arg 1: the new package version
-# arg 2: the old package version
-post_install() {
- # Add the mdadm monitoring service
- /sbin/add_service.sh mdadm
-}
-
-post_upgrade() {
- if [ "$(vercmp $2 2.6.8-2)" -lt 0 -a "$(grep raid_partitions /etc/mkinitcpio.conf)" ]; then
- echo "Attention mdadm update:"
- echo "raid_partitions hook has been replaced by the more powerfull mdadm hook."
- echo "Please update your /etc/mkinitcpio.conf accordingly."
- fi
-}
-
-pre_remove() {
- # Remove the mdadm monitoring service
- /sbin/remove_service.sh mdadm
-}