Application Packaging Developer's Guide

The sed Class Action Script (/etc/

In the driver example, a sed class script is used to add an entry for the driver to the file /etc/ This file is used by the devlinks command to create symbolic links from /dev into /devices. This is the sed script:

# sed class script to modify /etc/
type=ddi_pseudo;name=sst;minor=character	rsst\\A1


The pkgrm command does not run the removal part of the script. You may need to add a line to the preremove script to run sed directly to remove the entry from /etc/