[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[K12OSN] Mtools scripting



Is there a shell scripting guru who can
help me in writing script to automate
a repetative task with Mtools/floppyd? :)
(client terminal using k12ltsp)
Our teachers have a hard time grasping the
simple concept of Mtools vs MS point-click.


either a shell or xwindows script with a 
series of if / or statments
ie: 
insert floppy
when initialized next
or
error no floppy disk
{
1. New Term
if yes
cp file.1,file.2 from /dev/fd0 ~/DASH (thatis /homedir/DASH)
}
or
{
2.enter grades
if yes
execute $HOME/dash.sh
}
or
{
3.restore floppy
cp file.1,file.2 from ~/DASH/file.1 and file.2 /dev/fd0
}
or
exit

thnx, Robert
  




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]