|
|
2010-02-20
, 14:55
|
|
|
Posts: 1,090 |
Thanked: 476 times |
Joined on Jan 2010
@ Ingolstadt, Germany
|
#82
|
|
|
2010-02-20
, 15:05
|
|
Posts: 527 |
Thanked: 121 times |
Joined on Feb 2010
|
#83
|
|
|
2010-02-20
, 15:08
|
|
|
Posts: 1,090 |
Thanked: 476 times |
Joined on Jan 2010
@ Ingolstadt, Germany
|
#84
|
|
|
2010-02-20
, 15:09
|
|
Posts: 527 |
Thanked: 121 times |
Joined on Feb 2010
|
#85
|
|
|
2010-02-20
, 15:39
|
|
|
Posts: 1,090 |
Thanked: 476 times |
Joined on Jan 2010
@ Ingolstadt, Germany
|
#86
|
|
|
2010-02-20
, 15:52
|
|
Posts: 527 |
Thanked: 121 times |
Joined on Feb 2010
|
#87
|
|
|
2010-02-20
, 16:05
|
|
|
Posts: 1,090 |
Thanked: 476 times |
Joined on Jan 2010
@ Ingolstadt, Germany
|
#88
|

start on startup
script
cd /etc/hildon-welcome.d/dconfs/
if [ -f 1.conf ]; then
# check which file is currently used
if [ -f *.lock ]; then
cuf=$(ls *.lock)
ruf=$cuf
rm *.lock
else
cuf="1.lock"
ruf=$cuf
fi
# determine number of files in /dconfs
nof=$(ls *.conf | wc -l)
while [ "$ruf" = "$cuf" ]; do
# get random number
rn=$(dd if=/dev/urandom count=1 2> /dev/null | cksum | cut -f1 -d" ")
# in range of 1 - nof
let "rr = $rn % $nof + 1"
# choose random conf
ruf="$rr.lock"
rf="$rr.conf"
done
# set file for checking which file is in use
rb="$rr.lock"
echo "rb $rb - rf $rf"
# copy it over to default.conf
cp $rf ../default.conf
touch $rb
fi
end script
|
|
2010-02-20
, 16:14
|
|
Posts: 527 |
Thanked: 121 times |
Joined on Feb 2010
|
#89
|
|
|
2010-02-20
, 16:14
|
|
|
Posts: 1,090 |
Thanked: 476 times |
Joined on Jan 2010
@ Ingolstadt, Germany
|
#90
|

[hildon-welcome]
filename=Hands-v32-h264.avi
Also didn't help