diff options
author | Oyvind Repvik <nail@nslu2-linux.org> | 2007-02-21 20:44:06 +0000 |
---|---|---|
committer | Oyvind Repvik <nail@nslu2-linux.org> | 2007-02-21 20:44:06 +0000 |
commit | d46c1b4af2eb876e742c70e520612629745edb09 (patch) | |
tree | bbe5d75e7aae2862d4420f122cf0f6e2abab9d49 /packages/udev/udev_092.bb | |
parent | b9e77e8d474c0d2016e9c23e9006b159e2ef0a59 (diff) |
udev: Fixup etc->sysconfdir, make sure sysconfdir/udev exists before writing into it
Diffstat (limited to 'packages/udev/udev_092.bb')
-rw-r--r-- | packages/udev/udev_092.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/udev/udev_092.bb b/packages/udev/udev_092.bb index 92e37de4f7..60783e92a4 100644 --- a/packages/udev/udev_092.bb +++ b/packages/udev/udev_092.bb @@ -68,9 +68,10 @@ pkg_postinst_append() { if test "$mp" = "/" then root_partition="$dev" - echo "$root_partition" >> /etc/udev/mount.blacklist + install -d ${sysconfdir}/udev + echo "$root_partition" >> ${sysconfdir}/udev/mount.blacklist fi - done < /etc/fstab + done < ${sysconfdir}/fstab } |