View Single Post
Old 03-30-2012, 04:54 PM   #11
kaminkatze
Member
kaminkatze plays well with otherskaminkatze plays well with otherskaminkatze plays well with otherskaminkatze plays well with otherskaminkatze plays well with otherskaminkatze plays well with otherskaminkatze plays well with otherskaminkatze plays well with otherskaminkatze plays well with otherskaminkatze plays well with otherskaminkatze plays well with others
 
Posts: 17
Karma: 2600
Join Date: Mar 2012
Device: Kindle 3
I used this kite script
Code:
#!/bin/sh
/mnt/us/bin/tinysh &
to start tinysh and modified
Code:
[[ $K -eq $ENT ]]&& shcmd && continue
to something like
Code:
if [[ $K -eq $ENT ]]; then
  [[ $CMD == "quit" ]] && exit
  shcmd && continue
fi
so I can exit tinysh.
kaminkatze is offline   Reply With Quote