|
|
2010-10-20
, 23:25
|
|
Posts: 32 |
Thanked: 24 times |
Joined on Sep 2010
|
#92
|
start on started hildon-desktop
stop on starting shutdown
console none
service
script
drivelist=$(sfdisk -lnd /dev/mmcblk1)
swapmicro=$(echo "$drivelist" -n | grep Id=82 | awk '/mmcblk1/ {print $1}')
if [ "$swapmicro" ]; then
swapon $swapmicro
swapoff /dev/mmcblk0p3
swapon /dev/mmcblk0p3
fi
end script

| The Following 3 Users Say Thank You to elipsoid For This Useful Post: | ||
|
|
2010-10-20
, 23:57
|
|
Posts: 3,664 |
Thanked: 1,529 times |
Joined on Sep 2009
@ Hamilton, New Zealand
|
#93
|

|
|
2010-10-21
, 07:27
|
|
Posts: 561 |
Thanked: 75 times |
Joined on Jan 2010
@ Spain
|
#94
|
|
|
2010-12-06
, 10:50
|
|
Posts: 101 |
Thanked: 132 times |
Joined on Apr 2010
@ Switzerland
|
#95
|
|
|
2010-12-30
, 10:33
|
|
|
Posts: 170 |
Thanked: 626 times |
Joined on Apr 2010
@ Albuquerque, NM, USA
|
#96
|
|
|
2011-01-10
, 13:50
|
|
Posts: 1 |
Thanked: 0 times |
Joined on Jan 2011
|
#97
|
|
|
2011-01-10
, 13:57
|
|
Posts: 692 |
Thanked: 264 times |
Joined on Dec 2009
|
#98
|
start on started hildon-desktop
stop on starting shutdown
console none
service
script
drivelist=$(sfdisk -lnd /dev/mmcblk1)
swapmicro=$(echo "$drivelist" -n | grep Id=82 | awk '/mmcblk1/ {print $1}')
if [ "$swapmicro" ]; then
swapon $swapmicro
swapoff /dev/mmcblk0p3
swapon /dev/mmcblk0p3
fi
end script
|
|
2011-01-10
, 20:13
|
|
Posts: 32 |
Thanked: 24 times |
Joined on Sep 2010
|
#99
|
|
|
2011-01-19
, 14:47
|
|
Posts: 7 |
Thanked: 2 times |
Joined on Dec 2010
|
#100
|
"Impossible is not in the Maemo vocabulary" - Caballero