Package xorp: Скрипты

Post install

/usr/sbin/post_service xorp
Pre install

1
2
3
4
5
6
7
8
if ! getent group xorp >/dev/null 2>&1; then
	/usr/sbin/groupadd -r xorp

	# xorpsh is using group's permission for access to xorp.
	# So, root user should be in group.
	/usr/sbin/usermod -G xorp root
fi
exit 0
Pre uninstall

/usr/sbin/preun_service xorp