Commit 36b541c9 authored by Mike Frysinger's avatar Mike Frysinger

ifconfig/route: move to /bin

These tools provide quite a bit of good information which is available
to non-root users, so let's move them to /bin for people to use.
Signed-off-by: 's avatarMike Frysinger <vapier@gentoo.org>
parent ca46fb15
......@@ -225,16 +225,21 @@ mii-tool: mii-tool.o
$(CC) $(LDFLAGS) -o mii-tool mii-tool.o
installbin:
@echo
@echo "######################################################"
@echo "Notice: ifconfig and route are now installed into /bin"
@echo "######################################################"
@echo
install -m 0755 -d ${BASEDIR}/sbin
install -m 0755 -d ${BASEDIR}/bin
install -m 0755 arp ${BASEDIR}/sbin
install -m 0755 hostname ${BASEDIR}/bin
install -m 0755 ifconfig ${BASEDIR}/sbin
install -m 0755 ifconfig ${BASEDIR}/bin
install -m 0755 nameif ${BASEDIR}/sbin
install -m 0755 netstat ${BASEDIR}/bin
install -m 0755 plipconfig $(BASEDIR)/sbin
install -m 0755 rarp ${BASEDIR}/sbin
install -m 0755 route ${BASEDIR}/sbin
install -m 0755 route ${BASEDIR}/bin
install -m 0755 slattach $(BASEDIR)/sbin
ifeq ($(HAVE_IP_TOOLS),1)
install -m 0755 ipmaddr $(BASEDIR)/sbin
......
......@@ -39,6 +39,14 @@ MAKECONFIG=config.make
[ -z "$BASH" ] && { echo "Configure requires bash" 1>&2; exit 1; }
cat <<EOF
######################################################
Notice: ifconfig and route are now installed into /bin
######################################################
EOF
# Disable filename globbing once and for all.
# Enable function cacheing.
set -f -h
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment