diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-23 18:24:11 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-23 18:24:11 +0000 |
commit | 2d2ddf507bf1ae2f4cc595b23b8e018398cbe8dd (patch) | |
tree | a63d3b3b1c89018b5419358eed5c2bb0acf1cd92 /core/mdadm | |
parent | e374901731eb35599bd6735de4dd38560e3a79b8 (diff) | |
download | aports-2d2ddf507bf1ae2f4cc595b23b8e018398cbe8dd.tar.bz2 aports-2d2ddf507bf1ae2f4cc595b23b8e018398cbe8dd.tar.xz |
move core/* to main/
added maintainer to several packages as well
Diffstat (limited to 'core/mdadm')
-rw-r--r-- | core/mdadm/APKBUILD | 33 | ||||
-rw-r--r-- | core/mdadm/mdadm-raid.initd | 19 | ||||
-rw-r--r-- | core/mdadm/mdadm.confd | 5 | ||||
-rw-r--r-- | core/mdadm/mdadm.initd | 27 |
4 files changed, 0 insertions, 84 deletions
diff --git a/core/mdadm/APKBUILD b/core/mdadm/APKBUILD deleted file mode 100644 index bc98d6e3..00000000 --- a/core/mdadm/APKBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter at gmail> -# Maintainer: Carlo Landmeter <clandmeter at gmail> -pkgname=mdadm -pkgver=2.6.9 -pkgrel=0 -pkgdesc="a tool for managing Linux Software RAID arrays" -url="http://neil.brown.name/blog/mdadm" -license="GPL-2" -depends="uclibc" -makedepends="groff" -subpackages="$pkgname-doc" -source="http://www.kernel.org/pub/linux/utils/raid/${pkgname}/${pkgname}-${pkgver}.tar.gz - ${pkgname}.initd - ${pkgname}.confd - mdadm-raid.initd - " - -build() { - cd "$srcdir/$pkgname-$pkgver" - - make || return 1 - make DESTDIR=$pkgdir install - - install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - install -m755 -D "$srcdir"/$pkgname-raid.initd "$pkgdir"/etc/init.d/$pkgname-raid - install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname - install -m644 -D mdadm.conf-example "$pkgdir"/etc/mdadm.conf -} - -md5sums="beaa0f066288441d9b3ad1ef67fa0237 mdadm-2.6.9.tar.gz -96b323ba5b778aeb905c119b9547b2a5 mdadm.initd -16d2b8eb2e17184357db503470fdd8eb mdadm.confd -cf60ee08fc4fbed0450c5a2d4efc4214 mdadm-raid.initd" diff --git a/core/mdadm/mdadm-raid.initd b/core/mdadm/mdadm-raid.initd deleted file mode 100644 index ea840888..00000000 --- a/core/mdadm/mdadm-raid.initd +++ /dev/null @@ -1,19 +0,0 @@ -#!/sbin/runscript - -# script to start raid devices described in /etc/mdadm.conf. - -start() { - [ -f /proc/mdstat ] || modprobe -k md > /dev/null 2>&1 - ebegin "Starting RAID devices" - mdadm -A -s -q - eend $? -} - -stop() { - # you need to make sure no device is mounted. - if [ -f /etc/mdadm.conf ] ; then - ebegin "Stopping RAID devices" - mdadm --stop -q `awk '/^ARRAY/ { print $2 }' /etc/mdadm.conf` - eend $? - fi -} diff --git a/core/mdadm/mdadm.confd b/core/mdadm/mdadm.confd deleted file mode 100644 index f1ed9c41..00000000 --- a/core/mdadm/mdadm.confd +++ /dev/null @@ -1,5 +0,0 @@ -# Misc options to pass to mdadm in monitor mode. -# For more info, run `mdadm --monitor --help` or see -# the mdadm(8) manpage. - -OPTS="--syslog" diff --git a/core/mdadm/mdadm.initd b/core/mdadm/mdadm.initd deleted file mode 100644 index 747661e8..00000000 --- a/core/mdadm/mdadm.initd +++ /dev/null @@ -1,27 +0,0 @@ -#!/sbin/runscript - -# Sample init.d file for alpine linux. - -NAME=mdadm -DAEMON=/sbin/$NAME - -depend() { - use logger dns net -} - -start() { - ebegin "Starting ${NAME}" - start-stop-daemon --start --quiet --background \ - --exec ${DAEMON} -- \ - --monitor --scan \ - --daemonise ${OPTS} - eend $? -} - -stop() { - ebegin "Stopping ${NAME}" - start-stop-daemon --stop --quiet \ - --exec ${DAEMON} - eend $? -} - |