aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/udev-init-scripts/udev-init-scripts.post-install10
l---------main/udev-init-scripts/udev-init-scripts.post-upgrade1
2 files changed, 11 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
+
diff --git a/main/udev-init-scripts/udev-init-scripts.post-upgrade b/main/udev-init-scripts/udev-init-scripts.post-upgrade
new file mode 120000
index 0000000000..0b54cffe15
--- /dev/null
+++ b/main/udev-init-scripts/udev-init-scripts.post-upgrade
@@ -0,0 +1 @@
+udev-init-scripts.post-install \ No newline at end of file