#!/bin/sh
if test "`id -u`" -eq 0 ; then
	SUDO=""
else
	SUDO="sudo "
fi
if test -x /usr/bin/wol ; then
	INSTALL_WOL=""
else
	INSTALL_WOL="${SUDO}zypper install wol
"
fi

cat >&2 <<EOF
ether-wake was removed from net-tools. Please migrate to wol:
${INSTALL_WOL}wol [options]
or use busybox-ether-wake:
${SUDO}zypper install busybox-ether-wake
EOF
exit 1
