diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/standalone.pm | 12 | ||||
-rwxr-xr-x | perl-install/standalone/drakTermServ | 14 |
2 files changed, 11 insertions, 15 deletions
diff --git a/perl-install/standalone.pm b/perl-install/standalone.pm index 514585d27..69e24b1dc 100644 --- a/perl-install/standalone.pm +++ b/perl-install/standalone.pm @@ -49,8 +49,18 @@ Backup and Restore application --help : show this message. --version : show version name. "), - 'draksec' => N(" [OPTIONS]... + 'draksec' => N("[OPTIONS]... --debug print debugging information"), + 'drakTermServ' => N("[OPTIONS]... +Mandrake Terminal Server Configurator +--enable : enable MTS +--disable : disable MTS +--start : start MTS +--stop : stop MTS +--adduser : add an existing system user to MTS (requires username) +--deluser : delete an existing system user from MTS (requires username) +--addclient : add a client machine to MTS (requires MAC address, IP, nbi image name) +--delclient : delete a client machine from MTS (requires MAC address, IP, nbi image name)"), 'drakxtv' => "[--no-guess]", 'drakupdate_fstab' => " [--add | --del] <device>\n", 'keyboardrake' => N("[keyboard]"), diff --git a/perl-install/standalone/drakTermServ b/perl-install/standalone/drakTermServ index 2d438757c..4e717098f 100755 --- a/perl-install/standalone/drakTermServ +++ b/perl-install/standalone/drakTermServ @@ -69,20 +69,6 @@ my $cfg_dir = "/etc/drakxtools/draktermserv/"; my $cfg_file = $cfg_dir . "draktermserv.conf"; my $server_ip = get_ip_from_sys(); -if ("@ARGV" =~ /--help|-h/) { - print q(Mandrake Terminal Server Configurator ---enable : enable MTS ---disable : disable MTS ---start : start MTS ---stop : stop MTS ---adduser : add an existing system user to MTS (requires username) ---deluser : delete an existing system user from MTS (requires username) ---addclient : add a client machine to MTS (requires MAC address, IP, nbi image name) ---delclient : delete a client machine from MTS (requires MAC address, IP, nbi image name) -); - exit(0); -} - #- make sure terminal server and friends are installed my $ts = system("rpm -qa | grep terminal-server > /dev/null"); if ($ts == 256) { |