post_install() {if! getent group sdn >/dev/null;then
groupadd sdn --systemfiif! getent passwd sdn >/dev/null;then
useradd -c'SDN/ONOS daemon user'-g sdn -d'/opt/onos'-s/bin/bash sdn --systemfi
chown -R sdn:sdn '/opt/onos'}
post_upgrade() {
post_install
}# vim: set ts=4 sw=4 et: