ftpfct mod and some other things

This commit is contained in:
Frank Villaro-Dixon 2013-11-26 21:13:30 +01:00
parent f50a60e615
commit d2df6b316e
4 changed files with 14 additions and 3 deletions

View file

@ -13,6 +13,13 @@ function set_fan
echo "level $1" | sudo tee $FANFILE > /dev/null
}
function finish
{
set_fan full-speed
}
trap finish EXIT
while true; do
TEMP=$($ACPI | grep degrees | grep -v critical | cut -d' ' -f4)
@ -32,6 +39,9 @@ while true; do
set_fan 1
echo "lt 56"
elif [ $TEMP -lt 66 ]; then
set_fan 2
echo "lt 66"
elif [ $TEMP -lt 70 ]; then
set_fan 5
echo "lt 66"
else

View file

@ -89,6 +89,7 @@ WAI=`pwd`
#simple files
cd ~
ln -s ~/Programmation/dotfiles/Utils/ .my_utils
ln -s $WAI/bashrc ./.bashrc
ln -s $WAI/bash_ps1 ./.bash_ps1

View file

@ -4,9 +4,8 @@
**
** Author: Frank Villaro-Dixon <Frank@Villaro-Dixon.eu>
** Description: <+DESC+>
**
** vim: set ts=4 sw=4 noet:
*/
<+CODE+>
?>
/* vim: set ts=4 sw=4 noet: */

View file

@ -32,6 +32,7 @@ setxkbmap -model pc104 -layout ch -variant fr -option compose:lwin
$OCTOPUS init-all 1>&2 /dev/shm/Octopus_logs &
$OCTOPUS init-wifi 1>&2 /dev/shm/Octopus_logs &
ftpfct.sh >/dev/null &
while true; do
$OCTOPUS refresh