I'm pretty new to Linux, so Im struggling a bit to implement the script
on a DietPi OS

I executed the script with the "make" parameter and card name. All went
well, except .filetool.lst doesn't exists in DietPi. 


Code:
--------------------
    # add rules file to /opt/.filetool.lst
  sed -i "\#$rulesfile#d" /opt/.filetool.lst #remove all previous matching 
entries, to make sure it's only listed once
  echo $rulesfile >> /opt/.filetool.lst
--------------------



Code:
--------------------
    sed: can't read /opt/.filetool.lst: No such file or directory
  
--------------------


Can I omit this section or should I add the rules file to a different
file?


------------------------------------------------------------------------
4]4's Profile: http://forums.slimdevices.com/member.php?userid=71351
View this thread: http://forums.slimdevices.com/showthread.php?t=113661

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to