diff options
Diffstat (limited to 'chapter8/inetutils.sh')
-rw-r--r-- | chapter8/inetutils.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/chapter8/inetutils.sh b/chapter8/inetutils.sh new file mode 100644 index 0000000..3999fb7 --- /dev/null +++ b/chapter8/inetutils.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +./configure --prefix=/usr \ + --localstatedir=/var \ + --disable-logger \ + --disable-whois \ + --disable-rcp \ + --disable-rexec \ + --disable-rlogin \ + --disable-rsh \ + --disable-servers + +make + +make -j1 install + +mv -v /usr/bin/{hostname,ping,ping6,traceroute} /bin +mv -v /usr/bin/ifconfig /sbin |