Thread
:
N900: Can profile type be determined in a shell script?
View Single Post
kureyon
2012-01-19 , 15:48
Posts: 992 | Thanked: 738 times | Joined on Jun 2010 @ Low Earth Orbit
#
6
Something like:
Code:
if [ `cat /home/user/.profiled/current` == "Outdoors" ]; then echo "Not inside";fi
should work.
Quote & Reply
|
The Following 2 Users Say Thank You to kureyon For This Useful Post:
Estel
,
rotoflex
kureyon
View Public Profile
Send a private message to kureyon
Find all posts by kureyon