aboutsummaryrefslogtreecommitdiffstats
path: root/main/eudev/setup-udev
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-02-21 14:25:48 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2018-03-13 12:15:21 +0100
commitf32eca54071c2e63fea83032797da0e8b5a3dfa5 (patch)
treeb580a69945b871bd2815735b31e177468dad5c8f /main/eudev/setup-udev
parentfe079352679da5ae55a31024eea7082f5474232c (diff)
downloadaports-f32eca54071c2e63fea83032797da0e8b5a3dfa5.tar.bz2
aports-f32eca54071c2e63fea83032797da0e8b5a3dfa5.tar.xz
main/eudev: fix setup-udev
we should start the udev-postmount in default runlevel. It depends on localmount.
Diffstat (limited to 'main/eudev/setup-udev')
-rw-r--r--main/eudev/setup-udev6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/eudev/setup-udev b/main/eudev/setup-udev
index a4d0aacf0f..1b1c5664bc 100644
--- a/main/eudev/setup-udev
+++ b/main/eudev/setup-udev
@@ -14,9 +14,9 @@ done
rm -f /etc/runlevels/sysinit/hwdrivers /etc/runlevels/sysinit/mdev
-for i in udev-trigger udev udev-postmount; do
- if ! [ -e /etc/runlevels/sysinit/$i ]; then
- ln -s /etc/init.d/$i /etc/runlevels/sysinit/$i
+for i in sysinit/udev-trigger sysinit/udev default/udev-postmount; do
+ if ! [ -e /etc/runlevels/$i ]; then
+ ln -s /etc/init.d/${i#*/} /etc/runlevels/$i
fi
done