[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] HELP !!! SOS !!! Qube 3 Help Needed!!!
- Subject: Re: [cobalt-users] HELP !!! SOS !!! Qube 3 Help Needed!!!
- From: Gerald Young <me@xxxxxxxxxxx>
- Date: Mon Aug 27 08:36:57 2001
- Organization: Coolcat Dot Net ltd
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> All It needs to do is to either delete (I think) or copy over
> hosts.deny and hosts.allow files in /etc
> with the default files....
hi you can use as below
cut between ---------------
------------call this 'packing_list' -------------
Package: gerald
SCRIPT: upgrade_me
Version: 1.1.1
List File: gerald
REBOOT: no
----------- call this 'upgrade_me' ------------
#!/bin/sh
#insert appropiate shell commands in here
### replace pathtogoodfile with where your new ones are
cp /pathtogoodfile/hosts.deny /etc/hosts.deny
cp /pathtogoodfile/hosts.allow /etc/hosts.allow
exit 0
-------------------------------
pop upgrade_me and packing_list into a new directory and run something like
tar -czvf myfix.pkg *
that will make a package file with the two files in it. When installing the pkg
it will run any shell commands in the upgrade_me script then exit with an
error. it also wont show in your gui as an installed package.
hope that does the trick
b w gerald y