Now comes the hard part. There's a few places we need to fix things to make prey work with Maemo. First edit the file prey/modules/geo/core/functions and add the line "wifi_points=${wifi_points//\\/}" under the if statement so it looks like this: .... if [ -n "$wifi_points" ]; then wifi_points=${wifi_points//\\/} current_location_json....
get_current_location() { if [ -n "$wifi_points" ]; then local query=$(echo $wifi_points | tr -d '}"\\' | \ awk 'BEGIN {RS=","; FS=":"} /mac_address/ { gsub(/ /,"", $2); printf
(crontab -l | grep -v prey; echo "${new_delay}" "${full_path}/prey.sh > /var/log/prey.log") | crontab -
(crontab -l 2> /dev/null | grep -v prey; echo "${1}" "${full_path}/prey.sh > /var/log/prey.log 2>&1") | crontab -
(crontab -l | grep -v prey; echo "${new_delay}" "bash4 ${full_path}/prey.sh > /home/opt/prey/prey.log") | crontab -
"if [ "`whoami`" != "$logged_user" ]; then"
if [ "`whoami`" != "root" ]; then