#!/bin/sh #---------------------------------------------------------------------------- # /var/install/prep/twadmin.status.prep -twadmin configuration # # Copyright (c) 2003-2007 Maximilian Pasternak # Copyright (c) 2008-2018 The Eisfair Team, team(at)eisfair(dot)org # # Creation: 2003-02-15 max # 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. #---------------------------------------------------------------------------- script='/usr/sbin/tw_status' file='/tmp/twadmin.status' if [ -f $script ] then $script | sed "s|$|
|g" > $file else echo "ERROR: Please reinstall twadmin" > $file fi