From 854ef0857daa2c8414f70bf6070231a273e0595e Mon Sep 17 00:00:00 2001 From: Florian Pose <fp@igh-essen.com> Date: Tue, 25 Jul 2006 10:08:17 +0000 Subject: [PATCH] renamed ec_list script to lsec. --- script/install.sh | 3 ++- script/{ec_list.pl => lsec.pl} | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) rename script/{ec_list.pl => lsec.pl} (98%) diff --git a/script/install.sh b/script/install.sh index 01d31440..fd0d70ef 100755 --- a/script/install.sh +++ b/script/install.sh @@ -88,8 +88,9 @@ fi # Install tools echo " Installing tools" -cp script/ec_list.pl /usr/local/bin/ec_list || exit 1 +cp script/lsec.pl /usr/local/bin/lsec || exit 1 chmod +x /usr/local/bin/ec_list || exit 1 +ln -s /usr/local/bin/lsec /usr/local/bin/ec_list || exit 1 #------------------------------------------------------------------------------ diff --git a/script/ec_list.pl b/script/lsec.pl similarity index 98% rename from script/ec_list.pl rename to script/lsec.pl index 01ba50c7..a33e06d7 100755 --- a/script/ec_list.pl +++ b/script/lsec.pl @@ -2,7 +2,7 @@ #------------------------------------------------------------------------------ # -# e c _ l i s t . p l +# l s e c - List EtherCAT # # Userspace tool for listing EtherCAT slaves. # @@ -181,7 +181,7 @@ sub get_options sub print_usage { - print "Usage: ec_list [OPTIONS]\n"; + print "Usage: $0 [OPTIONS]\n"; print " -m <IDX> Query master <IDX>.\n"; print " -s Show EEPROM name instead of"; print " vendor/product/description.\n"; -- GitLab