#!/bin/bash

timestamp=`date +%s`
user_home=/home/olpc/
x11_home=/etc/X11/


echo ---- Starting update script: `date -d @$timestamp` ---- 

echo Update Keyboard
cp ./french.xmodmap $x11_home
cp ./xbd.xbd $user_home/.xsession
chown olpc $user_home/.xsession
chgrp olpc $user_home/.xsession
echo "... Keyboard update done"

/sbin/poweroff
