How to check if Dev mode activated ? [answered]
Can I somehow check via CLI if Dev mode activated now or not ?
Thanks
We have moved to a new Sailfish OS Forum. Please start new discussions there.
Can I somehow check via CLI if Dev mode activated now or not ?
Thanks
Return value 0 tells that its activated and return value 2 says that file doesn't exist so its disabled :)
# ls /usr/bin/devel-su > /dev/null 2>&1
# echo $?
or
# if ls /usr/bin/devel-su > /dev/null 2>&1; then echo enabled; else echo disabled; fi
or even faster without ls (thanks @pycage)
# [ -x /usr/bin/devel-su ] && echo enabled || echo disabled
This thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2014-09-19 23:19:33 +0200
Seen: 421 times
Last updated: Sep 21 '14
Differentiate / Mark developer solutions
3 issues I can't progress with, update/dev mode/store [answered]
unable to ssh developer mode [not relevant]
HowTo: Connecting to Jolla via SSH over USB [answered]
SSH Host Key fingerprint & regeneration
Font changes in deployed applications
Request: answers/solutions that do not involve developer mode