problems with pkgmk and request script
From: jd (jedrzej_dudkiewicz_at_poczta.interia.pl)
Date: 07/21/04
- Next message: Siim Kalder: "Re: DiskSuite - puzzling issue"
- Previous message: Kris: "Ultrasparc-III cpu recommended max core temp?"
- Next in thread: jd: "Re: problems with pkgmk and request script"
- Reply: jd: "Re: problems with pkgmk and request script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 21 Jul 2004 11:42:57 +0200
Hello,
I've got the following problem:
I have to create a small package, that optionally adds entries to crontab
and inittab. In 'request' script I ask user if he wishes these entries to be
added and to enter schedule for crontab (if he wants one, of course). After
all that, I do the following:
[ "${ctab}" = "y" ] && CLASSES="${CLASSES} cron"
[ "${itab}" = "y" ] && CLASSES="${CLASSES} itab"
SCHED="${ctabSched}"
I got SCHED variable set in pkginfo script.
Unfortunately, this variables are unchanged in Class Action Scripts.
I tried exporting these wariables and writing to $1 ( that is - a response
file ), all in vain. I checked archives of this group ( through google ) and
used google to find something about it, but all I found - wasn't working.
Please note, that telling me to check "an excellent sun document"
"Application Packaging Developer's Guide" is futile, as examples given at
the end of this document doesn't work on my system. I got Solaris 2.6 (
SunOS 5.6 ) ( a little old it is, isn't it? ).
TIA,
JD
- Next message: Siim Kalder: "Re: DiskSuite - puzzling issue"
- Previous message: Kris: "Ultrasparc-III cpu recommended max core temp?"
- Next in thread: jd: "Re: problems with pkgmk and request script"
- Reply: jd: "Re: problems with pkgmk and request script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|