DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Packaging your software applications

Installation class action script (i.inittab)

   # PKGINST parameter provided by installation service
   

while read src dest do # remove all entries from the table that are # associated with this PKGINST sed -e "/^[^:]*:[^:]*:[^:]*:[^#]*#$PKGINST$/d" $dest > /tmp/$$itab || exit 2

sed -e "s/$/#$PKGINST" $src >> /tmp/$$itab || exit 2

mv /tmp/$$itab $dest || exit 2 done if [ "$1" = ENDOFCLASS ] then /sbin/init q || exit 2 fi exit 0


Next topic: Removal class action script (r.inittab)
Previous topic: prototype file

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003