diff options
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/func/PKGBUILD | 10 | ||||
-rw-r--r-- | abs/core/func/failed_func (renamed from abs/core/func/failed_func.sh) | 9 | ||||
-rw-r--r-- | abs/core/func/func.install | 2 |
3 files changed, 11 insertions, 10 deletions
diff --git a/abs/core/func/PKGBUILD b/abs/core/func/PKGBUILD index d7d4019..1110451 100644 --- a/abs/core/func/PKGBUILD +++ b/abs/core/func/PKGBUILD @@ -1,6 +1,6 @@ pkgname=func pkgver=0.25 -pkgrel=2 +pkgrel=4 pkgdesc="fedora unifed network controller" url="" license="gpl" @@ -8,10 +8,10 @@ depends=(pyopenssl certmaster python_aosd) makedepends=() conflicts=() replaces=() -backup=() +backup=('etc/func/minion.conf') moddir="pkg/usr/lib/python2.6/site-packages/func/minion/modules/" install=func.install -source=($pkgname-$pkgver.tar.gz minion.conf power.py pacman.py failed_func.sh fe_restart.py msg.py msg.cfg) +source=($pkgname-$pkgver.tar.gz minion.conf power.py pacman.py failed_func fe_restart.py msg.py msg.cfg) arch=('i686') build() { @@ -28,7 +28,7 @@ build() { install -m755 -D $startdir/src/msg.py ${startdir}/${moddir}/msg.py install -m755 -D $startdir/src/msg.cfg ${startdir}/pkg/usr/MythVantage/etc/msg.cfg install -m755 -D $startdir/src/fe_restart.py ${startdir}/${moddir}/fe_restart.py - install -m755 -D $startdir/src/failed_func.sh $startdir/pkg/usr/MythVantage/bin/failed_func.sh + install -m755 -D $startdir/src/failed_func $startdir/pkg/usr/MythVantage/bin/failed_func mkdir -p $startdir/pkg/var/log/func cd $startdir/pkg @@ -38,7 +38,7 @@ md5sums=('892252004f122c61bb58bb4607553ffe' '1e2905074203d5c0557f143a6c50c497' '1393088fa64823606e0b1c02296041f4' '65a602524cb85773740840eaa513ce15' - 'aa4d3f4612965ae99d6ba2e40673c3ac' + '5c62fad46fb95a14bc7093b506098e07' 'b02a733b7a74569e57521bc3708724a5' '572bb6737cb03dee7e9d11ed40481bd2' '4f189262b2a686c5ac9485c6e5134045') diff --git a/abs/core/func/failed_func.sh b/abs/core/func/failed_func index b44eb65..943fab9 100644 --- a/abs/core/func/failed_func.sh +++ b/abs/core/func/failed_func @@ -1,10 +1,11 @@ +#!/bin/bash . /etc/profile . /etc/systemconfig -if [ x$SystemType = "xMaster_backend" -o x$SystemType = "xStandAlone" ] -then - exit 0 -fi +#if [ x$SystemType = "xMaster_backend" -o x$SystemType = "xStandAlone" ] +#then +# exit 0 +#fi curl -# http://$dbhost/failed_func_hosts|grep -q `hostname` status=$? if [ $status = 0 ] diff --git a/abs/core/func/func.install b/abs/core/func/func.install index 1fcf6b1..f204214 100644 --- a/abs/core/func/func.install +++ b/abs/core/func/func.install @@ -15,7 +15,7 @@ post_install() { fi if [ ! -e /etc/cron.tenminutes/failed_func ] then - ln -s /usr/MythVantage/bin/failed_func.sh /etc/cron.tenminutes/failed_func + ln -s /usr/MythVantage/bin/failed_func /etc/cron.tenminutes/failed_func fi if [ ! -e /var/log/func ] |