aboutsummaryrefslogtreecommitdiffstats
path: root/main/udev-init-scripts/udev-init-scripts.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/udev-init-scripts/udev-init-scripts.post-install')
-rw-r--r--main/udev-init-scripts/udev-init-scripts.post-install10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/udev-init-scripts/udev-init-scripts.post-install b/main/udev-init-scripts/udev-init-scripts.post-install
new file mode 100644
index 0000000000..af7cc155b3
--- /dev/null
+++ b/main/udev-init-scripts/udev-init-scripts.post-install
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+if ! [ -e /etc/runlevels/sysinit/udev ]; then
+ exit 0
+fi
+
+if ! [ /etc/runlevels/sysinit/udev-trigger ]; then
+ ln -s /etc/init.d/udev-trigger /etc/runlevels/sysinit/udev-trigger
+fi
+