#!/usr/bin/sh #---------------------------------------------------------------------------------- # /var/install/bin/certs-pre-extract-certs-from-ca-bundle - pre script # # Copyright (c) 2014-2025 The Eisfair Team, team(at)eisfair(dot)org # # Creation: 2010-08-26 jed # Last Update: $Id$ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #---------------------------------------------------------------------------------- logfile=/var/tmp/certs-extract-certs-from-ca-bundle.tmp scriptfile=/var/install/bin/certs-extract-certs-from-ca-bundle checkproc ${scriptfile} if [ $? -ne 0 ] then if [ ! -f ${logfile} ] then touch ${logfile} fi startproc ${scriptfile} >${logfile} 2>/dev/null idx=1 ( # maximum execution time: 360s while [ ${idx} -lt 360 ] do checkproc ${scriptfile} if [ $? -eq 3 ] then echo echo "Press F10 to exit the window!" >> ${logfile} break fi sleep 3 idx=`expr ${idx} + 3` done ) & fi