0

I want to use this command every boot

>/etc/udev/rules.d/70-persistent-net.rules 

so I wrote it in /etc/rc.local but it didn't help , is ">" a problem ?

my purpose is to clear /etc/udev/rules.d/70-persistent-net.rules

thank you very much

1
  • Why would you NEED to clear a file in /etc on EVERY boot anyway?
    – Tom Yan
    Mar 4, 2016 at 7:19

1 Answer 1

0

Have you tried alternatives, like cat /dev/null > /etc/...? Or added logging statements so that you can be sure the script is running?

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .