source: npl/system/udev/post.udevd @ 66e7a2c

perl-5.22
Last change on this file since 66e7a2c was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 580 bytes
Line 
1#!/bin/bash
2
3#cleanup old stuff
4removepkg hotplug 2>/dev/null
5rm /etc/udev/rules.d/udev.rules 2>/dev/null
6
7#NOT, these are needed if user wants to boot old kernel again!:
8#rm /dev/syn3-* 2>/dev/null
9
10#we DONT want persistent network rules.
11#syn3 does this in a different way, for redundacy reasons and the fact that new hardware should start with eth0 again when a syn3 installation is moved.
12rm /etc/udev/rules.d/70-persistent-net.rules 2>/dev/null
13rm /lib/udev/rules.d/75-persistent-net-generator.rules 2>/dev/null
14
15
16#needed by some rules
17groupadd dialout &>/dev/null
18
19
20exit 0
Note: See TracBrowser for help on using the repository browser.