#!/bin/sh
##--------variables---------->>
SCRIPT_DIR="/usr/local/Ambiance"
DEST_DIR="/usr/share/audio"
ALOSP=$(cat $SCRIPT_DIR/config | grep ACTIVATELOGOUTSPLASH | cut -d'=' -f2)
ALOSO=$(cat $SCRIPT_DIR/config | grep ACTIVATELOGOUTSOUND | cut -d'=' -f2)
if [ $ALOSP == "true" ]
then
/usr/local/Ambiance/logout_splash &
fi
#deconnection adsl : ajout imcp
( xterm -e /etc/rc.d/ResetIptables d;) &
if [ $ALOSO == "true" ]
then
aplay /usr/share/audio/logout.*
fi
# Retour a la page d'appel du web miroir courant
#
|