1
0
mirror of https://github.com/rancher/os.git synced 2025-06-22 13:07:04 +00:00

Add option to not daemonize udev

This commit is contained in:
Darren Shepherd 2015-03-29 03:09:23 -07:00
parent 95a2f3ed67
commit 363cd2764d

View File

@ -1,6 +1,11 @@
#!/bin/sh
#!/bin/bash
mount --bind /host/dev /dev
if [ "$DAEMON" = true ]; then
exec udevd
fi
udevd --daemon
udevadm trigger --action=add
udevadm settle