diff options
author | James Meyer <james.meyer@operamail.com> | 2012-09-23 18:38:24 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-09-23 18:38:24 (GMT) |
commit | dab0a7167db39e0ed009a6061a9a0a8d91f86a2c (patch) | |
tree | 770caca959d224c396ba68c3e11b0daff6c15ea8 /abs/core/func | |
parent | bea0f6ea7fa89b80f5e5c1b6d8b50577fdeaffba (diff) | |
download | linhes_pkgbuild-dab0a7167db39e0ed009a6061a9a0a8d91f86a2c.zip linhes_pkgbuild-dab0a7167db39e0ed009a6061a9a0a8d91f86a2c.tar.gz linhes_pkgbuild-dab0a7167db39e0ed009a6061a9a0a8d91f86a2c.tar.bz2 |
func: touch new certs to update the date when func fails. This is needed in cases where the system was installed with an incorrect time.
Diffstat (limited to 'abs/core/func')
-rw-r--r-- | abs/core/func/PKGBUILD | 4 | ||||
-rw-r--r-- | abs/core/func/failed_func | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/abs/core/func/PKGBUILD b/abs/core/func/PKGBUILD index 50dae2b..b811131 100644 --- a/abs/core/func/PKGBUILD +++ b/abs/core/func/PKGBUILD @@ -1,6 +1,6 @@ pkgname=func pkgver=0.25 -pkgrel=9 +pkgrel=10 pkgdesc="fedora unifed network controller" url="" license="gpl" @@ -40,7 +40,7 @@ md5sums=('892252004f122c61bb58bb4607553ffe' '1e2905074203d5c0557f143a6c50c497' '1393088fa64823606e0b1c02296041f4' '32cc4d15a3083b518d9f645b656cc273' - 'cb27f9b7f6cef35b7cd2b4b2dbfc2b6b' + 'c30f420c01628a08061270e8502115c5' 'b02a733b7a74569e57521bc3708724a5' '1bf9594c41817d4f70d4465b84cbe8b6' '28e141f04ccbdde1199b41888e102dc9' diff --git a/abs/core/func/failed_func b/abs/core/func/failed_func index bb4ad7a..b4605bf 100644 --- a/abs/core/func/failed_func +++ b/abs/core/func/failed_func @@ -12,10 +12,13 @@ status=$? if [ $status = 0 ] then echo "removing ca (failed_func.sh)" + touch /etc/pki/certmaster/ca/* rm -f /etc/pki/certmaster/* echo "restarting func" sv stop funcd + sv stop certmaster sleep 3 + sv start certmaster sv start funcd fi |