On Monday 03 February 2003 07:14 am, John Mullan wrote:
> Thanks folks.  With this reminder I now remember that I previously used the
> 'alias' command inside one of the booting scripts to set up some permanent
> commands.  Never heard of the 'export' one.
>
> I never create any other users, only use root so likely any script that
> executes during boot will work.  But any helpful hints on the best (or
> rule-of-thumb) file would be appreciated.

There are tons of ways, the alias command in .profile is likely the best
though.

#Make it a shell-script
ae /usr/bin/mflash

#!/bin/sh
umount /flash 2>&1 >/dev/null
mount -t msdos /dev/nftla1 /flash
exit 0
EOF

---
~Lynn Avants
Linux Embedded Firewall Project developer
http://leaf.sourceforge.net


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to