author | sandman <sandman> | 2002-07-27 23:33:26 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-07-27 23:33:26 (UTC) |
commit | 4baf36396739502c5471950e29f18954cca4517b (patch) (side-by-side diff) | |
tree | 46b25659b442666b4b5153fa8210d86e6708b47b /root | |
parent | 9cc89b6a54ee267953b0422c4607097d075ecab9 (diff) | |
download | opie-4baf36396739502c5471950e29f18954cca4517b.zip opie-4baf36396739502c5471950e29f18954cca4517b.tar.gz opie-4baf36396739502c5471950e29f18954cca4517b.tar.bz2 |
Update for OPIE to use opie-login
-rwxr-xr-x | root/etc/init.d/opie | 7 |
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 *) 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 }" |