#!/bin/sh want_user=fidonet if [ `whoami` != $want_user ]; then echo Програма должна быть запущена от имени $want_user!; exit 1; fi /usr/local/bin/fconf2golded -a /etc/GoldED/gold_area.cfg /usr/local/bin/gedlnx -F -C/etc/GoldED/golded.cfg GedErr=$? if [ $GedErr = 2 ] || [ $GedErr = 6 ]; then hpt pack; fi if [ $GedErr = 4 ] || [ $GedErr = 6 ]; then hpt scan; fi echo $GedErr