SOLVED! reset udev rules

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
ccc

SOLVED! reset udev rules

Post by ccc »

hi

I need to clone mint workstations.
Howto run this script on LXDE as root on the startup to reset udev rules?

Code: Select all

#!/bin/bash

mv /lib/udev/rules.d/75-persistent-net-generator.rules /lib/udev/rules.d/disabled
mv /lib/udev/rules.d/75-cd-aliases-generator.rules /lib/udev/rules.d/disabled
rm -f /etc/udev/rules.d/*persistent*
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
kurotsugi

Re: reset udev rules

Post by kurotsugi »

do you need to run it on every boot? if the answer is yes, I could suggest to put it on /etc/rc.local. well need to make sure that the file should ended with 'exit 0'
ccc

Re: reset udev rules

Post by ccc »

Thx a lot, it works well now.
Locked

Return to “Software & Applications”