creating a script that works in kde
James Richard Tyrer
tyrerj at acm.org
Sat Oct 1 22:33:43 BST 2005
John R. Sowden wrote:
> It seems that all of the script tutorials are based on running in the console
> mode. When I create the following script, and run it from a kde command
> window, only the first ech line works.
> echo "Decrypt the encrypted partition"
> exec /bin/su
> exec /etc/init.d/boot.crypto start
> # to unmount the drive: as root: /etc/init.d/boot.crypto stop
> My next challenge is to execute the above from an icon. The two exits are to
> close the console window.
> any help or referral to a site would be helpful.
RTFM to see what the "exec" command does.
It doesn't do what you think it does.
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
More info: http://www.kde.org/faq.html.
More information about the kde