Thread
:
[Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
View Single Post
batman
2010-11-15 , 12:18
Posts: 71 | Thanked: 4 times | Joined on Mar 2010
#
927
again excuse the ignorance and I appreciate your patience
where exactly am I adding that code to the existing commands?
do you mean something like this:
if [ "$QBW_EXEC_REASON" == "QBW_STARTUP_UPDATE" ]; then
# add here switch on instructions
/usr/sbin/kernel-load /home/user/MyDocs/kernel.txt | sudo gainroot>/dev/null
echo "OFF";
exit 1;
fi;
if [ "$QBW_CURRENT_RESULTS_TEXT" == "ON" ]; then
# add here switch off instructions
/usr/sbin/kernel-unload /home/user/MyDocs/originalkernel.txt | sudo gainroot>/dev/null
echo "OFF";
exit 0;
else
# add here switch on instructions
/usr/sbin/kernel-load /home/user/MyDocs/kernel.txt | sudo gainroot>/dev/null
echo "OFF";
exit 1;
fi;
Last edited by batman; 2010-11-15 at
12:26
.
Quote & Reply
|
batman
View Public Profile
Send a private message to batman
Find all posts by batman