* Clean up indentation.

svn path=/nixos/trunk/; revision=12169
This commit is contained in:
Eelco Dolstra 2008-06-20 16:09:48 +00:00
parent 8c7859f7fb
commit 1ec810f844

View File

@ -51,17 +51,17 @@ in
{
name = "udev";
job = "
job = ''
start on startup
stop on shutdown
env UDEV_CONFIG_FILE=${conf}
start script
echo '' > /proc/sys/kernel/hotplug
echo "" > /proc/sys/kernel/hotplug
# Get rid of possible old udev processes.
${procps}/bin/pkill -u root '^udevd$' || true
${procps}/bin/pkill -u root "^udevd$" || true
# Start udev.
${udev}/sbin/udevd --daemon
@ -78,11 +78,11 @@ start script
# Kill udev, let Upstart restart and monitor it. (This is nasty,
# but we have to run udevtrigger first. Maybe we can use
# Upstart's `binary' keyword, but it isn't implemented yet.)
if ! ${procps}/bin/pkill -u root '^udevd$'; then
echo \"couldn't stop udevd\"
if ! ${procps}/bin/pkill -u root "^udevd$"; then
echo "couldn't stop udevd"
fi
while ${procps}/bin/pgrep -u root '^udevd$'; do
while ${procps}/bin/pgrep -u root "^udevd$"; do
sleep 1
done
@ -90,6 +90,6 @@ start script
end script
respawn ${udev}/sbin/udevd
";
'';
}