Changeset 514

Show
Ignore:
Timestamp:
05/12/08 08:42:05 (3 months ago)
Author:
free
Message:

Use set_key in gdm

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cdd-utils/trunk/lib/desktop.sh

    r512 r514  
    9696    if nullstr $user; then warning "no user given"; return; fi 
    9797 
    98     sed -i -s "s/^AutomaticLoginEnable=.*/AutomaticLoginEnable=true/g" $cfg 
    99     sed -i -s "s/^AutomaticLogin=.*/AutomaticLogin=$user/g" $cfg 
     98    set_key "AutomaticLoginEnable" "=" "true"  "$cfg" 
     99    set_key "AutomaticLogin"       "=" "$user" "$cfg" 
    100100} 
    101101