summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2010-06-03 13:43:23 +0200
committerThomas Bächler <thomas@archlinux.org>2010-06-03 13:43:23 +0200
commitfe0f98b1fd09d27e0f37add0088d1ade3f2bb695 (patch)
treec3867790879329f021185cf6fbbbfc78c5bf7995
parentcaa76df5f066e65f0dc39feba46013d205fc472b (diff)
Add --action=add to udevadm trigger2010.06-1
This is necessary as the new udev defaults to --action=change which breaks network device renaming.
-rwxr-xr-xrc.single2
-rwxr-xr-xrc.sysinit2
2 files changed, 2 insertions, 2 deletions
diff --git a/rc.single b/rc.single
index e8b6f08..f986a2a 100755
--- a/rc.single
+++ b/rc.single
@@ -51,7 +51,7 @@ if [ "$PREVLEVEL" != "N" ]; then
if /bin/pidof -o %PPID /sbin/udevd >/dev/null; then
stat_busy "Triggering UDev uevents"
/sbin/udevadm control --property=STARTUP=1
- /sbin/udevadm trigger
+ /sbin/udevadm trigger --action=add
stat_done
fi
diff --git a/rc.sysinit b/rc.sysinit
index d029458..1ded612 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -89,7 +89,7 @@ run_hook sysinit_udevlaunched
if /bin/pidof -o %PPID /sbin/udevd >/dev/null; then
stat_busy "Triggering UDev uevents"
/sbin/udevadm control --property=STARTUP=1
- /sbin/udevadm trigger
+ /sbin/udevadm trigger --action=add
stat_done
fi