summaryrefslogtreecommitdiff
path: root/root
Unidiff
Diffstat (limited to 'root') (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
@@ -44,12 +44,17 @@ case $1 in
44 *) echo "Unknown processor type -`module_id`-!" ;; 44 *) echo "Unknown processor type -`module_id`-!" ;;
45 esac 45 esac
46 46
47 $OPIEDIR/bin/qpe 2>/dev/null >/dev/null & 47 if [ -x $OPIEDIR/bin/opie-login ]; then
48 $OPIEDIR/bin/opie-login 2>/dev/null >/dev/null &
49 else
50 $OPIEDIR/bin/qpe 2>/dev/null >/dev/null &
51 fi
48 52
49 ;; 53 ;;
50'stop') 54'stop')
51 echo "Killing Opie..." 55 echo "Killing Opie..."
52 killproc qpe 56 killproc qpe
57 killproc opie-login
53 ;; 58 ;;
54*) 59*)
55 echo "usage: $0 { start | stop }" 60 echo "usage: $0 { start | stop }"