Browse Source

initramfs: added udevd service

0.2-maint
Alejandro Mery 16 years ago
parent
commit
ad6627e366
3 changed files with 40 additions and 0 deletions
  1. +20
    -0
      initramfs/etc_udev_log_run.sh
  2. +19
    -0
      initramfs/etc_udev_run.sh
  3. +1
    -0
      initramfs/var_service_udevd.ln

+ 20
- 0
initramfs/etc_udev_log_run.sh

@ -0,0 +1,20 @@
#!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/idunn/initramfs/etc_udev_log_run.sh
# Copyright (C) 2008 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
LOGDIR=/var/log/udevd
mkdir -p $LOGDIR
exec svlogd -tt $LOGDIR

+ 19
- 0
initramfs/etc_udev_run.sh

@ -0,0 +1,19 @@
#!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/idunn/initramfs/etc_udev_run.sh
# Copyright (C) 2008 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
exec 2>&1
echo "" > /sys/kernel/uevent_helper
exec udevd

+ 1
- 0
initramfs/var_service_udevd.ln

@ -0,0 +1 @@
/etc/udev

Loading…
Cancel
Save