FANDOM


/kojak/res (short for resource manager) is a kojak application that handles basic system functions. It is called by /kojak/go and always runs. Res appears to handle all application launching through the standard Audrey tools, receiving commands from buttond. Most kojak applications require the pid of res as an argument to start correctly.

Res seems to function somewhat like inetd in that it watches to make sure processes are running (based on the content of /config/rm-apps) and will restart them is any process dies or is killed.

The pid and chid of res are stored in /data/.rm-pid and /data/.rm-chid respectively.

Simulating resEdit

You can simulate res and call kojak applications manually using this "startApp" script:

#!/bin/ksh
# tag the res PID and CHID to this app and start it
if [ $# -eq 1 ]
then
p=`cat /data/.rm-pid`
c=`cat /data/.rm-chid`
eval "$1 $p $c &"
else
echo "usage: startApp <application>"
fi

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.