ftpfct mod and some other things
This commit is contained in:
parent
f50a60e615
commit
d2df6b316e
4 changed files with 14 additions and 3 deletions
|
@ -13,6 +13,13 @@ function set_fan
|
||||||
echo "level $1" | sudo tee $FANFILE > /dev/null
|
echo "level $1" | sudo tee $FANFILE > /dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function finish
|
||||||
|
{
|
||||||
|
set_fan full-speed
|
||||||
|
}
|
||||||
|
|
||||||
|
trap finish EXIT
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
|
|
||||||
TEMP=$($ACPI | grep degrees | grep -v critical | cut -d' ' -f4)
|
TEMP=$($ACPI | grep degrees | grep -v critical | cut -d' ' -f4)
|
||||||
|
@ -32,6 +39,9 @@ while true; do
|
||||||
set_fan 1
|
set_fan 1
|
||||||
echo "lt 56"
|
echo "lt 56"
|
||||||
elif [ $TEMP -lt 66 ]; then
|
elif [ $TEMP -lt 66 ]; then
|
||||||
|
set_fan 2
|
||||||
|
echo "lt 66"
|
||||||
|
elif [ $TEMP -lt 70 ]; then
|
||||||
set_fan 5
|
set_fan 5
|
||||||
echo "lt 66"
|
echo "lt 66"
|
||||||
else
|
else
|
||||||
|
|
|
@ -89,6 +89,7 @@ WAI=`pwd`
|
||||||
|
|
||||||
#simple files
|
#simple files
|
||||||
cd ~
|
cd ~
|
||||||
|
ln -s ~/Programmation/dotfiles/Utils/ .my_utils
|
||||||
ln -s $WAI/bashrc ./.bashrc
|
ln -s $WAI/bashrc ./.bashrc
|
||||||
ln -s $WAI/bash_ps1 ./.bash_ps1
|
ln -s $WAI/bash_ps1 ./.bash_ps1
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,8 @@
|
||||||
**
|
**
|
||||||
** Author: Frank Villaro-Dixon <Frank@Villaro-Dixon.eu>
|
** Author: Frank Villaro-Dixon <Frank@Villaro-Dixon.eu>
|
||||||
** Description: <+DESC+>
|
** Description: <+DESC+>
|
||||||
**
|
|
||||||
** vim: set ts=4 sw=4 noet:
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
<+CODE+>
|
<+CODE+>
|
||||||
?>
|
|
||||||
|
/* vim: set ts=4 sw=4 noet: */
|
||||||
|
|
1
xinitrc
1
xinitrc
|
@ -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-all 1>&2 /dev/shm/Octopus_logs &
|
||||||
$OCTOPUS init-wifi 1>&2 /dev/shm/Octopus_logs &
|
$OCTOPUS init-wifi 1>&2 /dev/shm/Octopus_logs &
|
||||||
|
ftpfct.sh >/dev/null &
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
$OCTOPUS refresh
|
$OCTOPUS refresh
|
||||||
|
|
Loading…
Reference in a new issue