Package fcoe-utils: Scripts

Post install

1
2
3
4
5
 
if [ $1 -eq 1 ] && sd_booted; then 
    # Initial installation 
    /lib/systemd/systemd-update-helper install-system-units fcoe.service fcoemon.socket || : 
fi
Post uninstall

1
2
3
4
5
 
if [ $1 -ge 1 ] && sd_booted; then 
    # Package upgrade, not uninstall 
    /lib/systemd/systemd-update-helper mark-restart-system-units fcoe.service fcoemon.socket || : 
fi
Pre uninstall

1
2
3
4
5
 
if [ $1 -eq 0 ] && sd_booted; then 
    # Package removal, not upgrade 
    /lib/systemd/systemd-update-helper remove-system-units fcoe.service fcoemon.socket || : 
fi