#!/bin/sh -e
# make /dev/MAKEDEV operate on the real /dev
# credits for this hack goes to ElectricElf

if [ "`pwd`" = /dev -a -d /etc/udev/.dev ]; then
  cd /etc/udev/.dev
fi

exec /sbin/MAKEDEV "$*"

