Добавление пользовательского лицензионного соглашения в пакет Solaris
Я задал похожий вопрос для Linux RPM (Добавление лицензионного соглашения в пакет RPM). Теперь у меня есть тот же запрос для пакета Solaris. Я не мог получить полезную ссылку / детали, если это возможно. Но я нашел пакет, который делает то же самое, но как он был реализован, не упоминается.
$pkgadd -d . SUNWsamfsr SUNWsamfsu
Processing package instance from
Sun SAM and Sun SAM-QFS software Solaris 10 (root)(i386) 4.6.5,REV=5.10.2007.03.12
Sun SAMFS - Storage & Archiving Management File System
Copyright (c) 2007 Sun Microsystems, Inc.
All Rights Reserved.
-----------------------------------------------------
In order to install SUNWsamfsr, you must accept the terms of
the Sun License Agreement.
Enter "y" if you do, "n" if you don't, or "v" to view agreement. y
-The administrator commands will be executable by root only (group bin).
If this is the desired value, enter "y". If you want to change
the specified value enter "c". y
...
...
Есть идеи, как реализовать такую вещь для пакета Solaris?