Changeset 64

Show
Ignore:
Timestamp:
04/23/08 18:13:31 (10 years ago)
Author:
rmcmillen
Message:

Fixes for Ticket #30. Not only do we have to change the setting in the /etc/sysconfig/keyboard, but it appears that I have to manually load the keyset. On reboot, the keyboard file is read again and the proper keyboard layout is used.

Location:
walleye/trunk/walleye
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • walleye/trunk/walleye/Makefile

    r59 r64  
    1 ver=1.2.9 
     1ver=1.2.10 
    22pname=walleye-${ver} 
    33 
  • walleye/trunk/walleye/admin/osAdmin.pl

    r59 r64  
    9191        my $setting = param("setting"); 
    9292        my $cmd = "/bin/mv -f $tmp_file $keyboard_setting"; 
     93        my $loadkeys = "/bin/loadkeys $setting"; 
    9394        my $status; 
    9495        my $title = "Configure Keyboard Layout"; 
     
    102103 
    103104        $status = system("sudo $cmd"); 
    104     error("Could not run command: $cmd $?") unless $status == 0; 
    105  
    106         my $msg = "The keyboard layout has been configured"; 
    107     display_admin_msg($title, $msg); 
     105        error("Could not run command: $cmd $?") unless $status == 0; 
     106 
     107        $status = system("sudo $loadkeys"); 
     108        error("Could not run command: $loadkeys $?") unless $status == 0; 
     109 
     110        my $msg = "The keyboard layout has been configured.  ($setting) layout loaded."; 
     111        display_admin_msg($title, $msg); 
    108112         
    109113} 
  • walleye/trunk/walleye/walleye.spec

    r59 r64  
    11Summary:  Walleye Honeynet data analysis  
    22Name: walleye 
    3 Version: 1.2.9 
    4 Release: 4 
     3Version: 1.2.10 
     4Release: 1 
    55License: GPL 
    66Group:   Applications/Honeynet