#!/bin/sh

TEXT="rootsh is now deprecated for it poses too much of a security risk. However, you can still obtain a root shell by running the commands 'root' or 'sudo gainroot'."
echo $TEXT

if [ -r /etc/osso-af-init/af-defines.sh ]; then
  source /etc/osso-af-init/af-defines.sh
fi

if [ -x /usr/bin/dbus-send -a -r /etc/osso-af-init/af-defines.sh -a ! -z $DISPLAY ]; then
  dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint string:"$TEXT"
fi

exit 0
