summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--main.c2
2 files changed, 5 insertions, 1 deletions
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");