From 79153f655b1f8af1df6b36875c2d0b61386b33a9 Mon Sep 17 00:00:00 2001 From: Håkon Nessjøen Date: Fri, 1 Oct 2010 11:34:25 +0200 Subject: Added install option to Makefile, and fixed a "typo" --- Makefile | 4 ++++ main.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d48263f..bbfa0de 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,10 @@ clean: dist-clean dist-clean: rm -f mactelnet mndp +install: all + cp mndp /usr/bin/ + cp mactelnet /usr/sbin/ + mactelnet: config.h main.c udp.h udp.c mactelnet.c mactelnet.h console.c console.h devices.c devices.h gcc -g -o mactelnet -lcrypto main.c udp.c mactelnet.c console.c devices.c diff --git a/main.c b/main.c index f15d811..7c62abb 100644 --- a/main.c +++ b/main.c @@ -204,7 +204,7 @@ int main (int argc, char **argv) { if (argc > 1) { fprintf(stderr, "\nRequired parameters:\n"); - fprintf(stderr, " ifname Network interface that the RouterOS resides on. (ex: eth0)\n"); + fprintf(stderr, " ifname Network interface that the RouterOS resides on. (example: eth0)\n"); fprintf(stderr, " MAC MAC-Address of the RouterOS device. Use mndp to discover them.\n"); fprintf(stderr, " username Your username.\n"); fprintf(stderr, " password Your password.\n"); -- cgit v1.2.3