[Mageia-dev] Anyone know where /usr/bin/shutdown comes from?

Olivier Blin mageia at blino.org
Fri Sep 7 20:08:53 CEST 2012


Colin Guthrie <mageia at colin.guthr.ie> writes:

> Not owned by any package so presumably it's from a %post or similar.
> Anyone know which package or a way to easily search for it?

Looks like it's created by msec, see /usr/share/msec/plugins/msec.py:
    shutdown.exists() or shutdown.symlink(CONSOLE_HELPER)

And from "rpm -q --scripts usermode":

postinstall scriptlet (using /bin/sh):
if [ ! -z "$SECURE_LEVEL" ];then
if [ -x /usr/sbin/msec -a "$SECURE_LEVEL" -gt "3" ]; then
/usr/sbin/msec $SECURE_LEVEL || true ; fi
fi

-- 
Olivier Blin - blino


More information about the Mageia-dev mailing list