diff options
author | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2010-10-01 11:34:25 +0200 |
---|---|---|
committer | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2010-10-01 11:34:25 +0200 |
commit | 79153f655b1f8af1df6b36875c2d0b61386b33a9 (patch) | |
tree | f5e2b6c8dece9dbc8c7f8edc18e38eb1e67ccfc8 | |
parent | d50a913b21b1ceec3bf22915caa87a8a9b44e3d1 (diff) | |
download | MAC-Telnet-79153f655b1f8af1df6b36875c2d0b61386b33a9.tar.gz MAC-Telnet-79153f655b1f8af1df6b36875c2d0b61386b33a9.zip |
Added install option to Makefile, and fixed a "typo"
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | main.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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 @@ -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"); |