On Wednesday, 13. July 2005 01:23, Rich Winkel wrote:

[Please keep the mailing list cc'd on replies]

> In /usr/local/env I put a file "mathapps.sh" containing:
> #!/bin/sh
> cp /usr/local/etc/local/MathApps.desktop $HOME/Desktop
> exit 0
>
> Now any userid which logs in that machine is immediately logged out again.

Remove the 'exit 0' at the end at it should work fine. Env scripts must not 
exit at all, since they are sourced in by the startkde script:

for prefix in `echo "$exepath" | sed -e 's^/bin/^/env/^g;s^:^ ^g'`; do
  for file in "$prefix"*.sh; do
-->  test -r "$file" && . "$file"  <-- 
  done
done

-- 
   ,_,   | Michael Nottebrock               | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org

Attachment: pgpw08UWdWOQy.pgp
Description: PGP signature

_______________________________________________
kde-freebsd mailing list
[email protected]
http://freebsd.kde.org/mailman/listinfo/kde-freebsd

Reply via email to