summaryrefslogtreecommitdiff
path: root/root/etc
Side-by-side diff
Diffstat (limited to 'root/etc') (more/less context) (ignore whitespace changes)
-rwxr-xr-xroot/etc/init.d/opie7
1 files changed, 6 insertions, 1 deletions
diff --git a/root/etc/init.d/opie b/root/etc/init.d/opie
index b5a185e..eed69c2 100755
--- a/root/etc/init.d/opie
+++ b/root/etc/init.d/opie
@@ -43,14 +43,19 @@ case $1 in
"3800" ) export QWS_DISPLAY=Transformed:Rot90:0 ;;
*) echo "Unknown processor type -`module_id`-!" ;;
esac
- $OPIEDIR/bin/qpe 2>/dev/null >/dev/null &
+ if [ -x $OPIEDIR/bin/opie-login ]; then
+ $OPIEDIR/bin/opie-login 2>/dev/null >/dev/null &
+ else
+ $OPIEDIR/bin/qpe 2>/dev/null >/dev/null &
+ fi
;;
'stop')
echo "Killing Opie..."
killproc qpe
+ killproc opie-login
;;
*)
echo "usage: $0 { start | stop }"
;;