Группа :: Система/Настройка/Сеть
Пакет: etherwake
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: etherwake-1.09-deb.patch
Скачать
Скачать
--- etherwake-1.09.orig/etherwake.8
+++ etherwake-1.09/etherwake.8
@@ -39,7 +39,7 @@
.BR nsswitch.conf (5)
.
.SH OPTIONS
-\fBetherwake\fP needs a single dash (╢-╢) in front of options.
+\fBetherwake\fP needs a single dash ('-') in front of options.
A summary of options is included below.
.TP
.B \-b
--- etherwake-1.09.orig/ether-wake.c
+++ etherwake-1.09/ether-wake.c
@@ -1,12 +1,12 @@
/* ether-wake.c: Send a magic packet to wake up sleeping machines. */
static char version_msg[] =
-"ether-wake.c: v1.09 11/12/2003 Donald Becker, http://www.scyld.com/";
+"etherwake.c: v1.09 11/12/2003 Donald Becker, http://www.scyld.com/";
static char brief_usage_msg[] =
-"usage: ether-wake [-i <ifname>] [-p aa:bb:cc:dd[:ee:ff]] 00:11:22:33:44:55\n"
+"usage: etherwake [-i <ifname>] [-p aa:bb:cc:dd[:ee:ff]] 00:11:22:33:44:55\n"
" Use '-u' to see the complete set of options.\n";
static char usage_msg[] =
-"usage: ether-wake [-i <ifname>] [-p aa:bb:cc:dd[:ee:ff]] 00:11:22:33:44:55\n"
+"usage: etherwake [-i <ifname>] [-p aa:bb:cc:dd[:ee:ff]] 00:11:22:33:44:55\n"
"\n"
" This program generates and transmits a Wake-On-LAN (WOL)\n"
" \"Magic Packet\", used for restarting machines that have been\n"
@@ -159,9 +159,9 @@
#endif
if (s < 0) {
if (errno == EPERM)
- fprintf(stderr, "ether-wake: This program must be run as root.\n");
+ fprintf(stderr, "etherwake: This program must be run as root.\n");
else
- perror("ether-wake: socket");
+ perror("etherwake: socket");
perm_failure++;
}
/* Don't revert if debugging allows a normal user to get the raw socket. */
@@ -295,7 +295,7 @@
hostid, ether_ntoa(eaddr));
} else {
(void)fprintf(stderr,
- "ether-wake: The Magic Packet host address must be "
+ "etherwake: The Magic Packet host address must be "
"specified as\n"
" - a station address, 00:11:22:33:44:55, or\n"
" - a hostname with a known 'ethers' entry.\n");