blob: c6a39bcbb817db8f03e1851ec28950dc043bf7b6 [file] [log] [blame] [raw]
#!/bin/sh
dir=`pwd`
karch=`uname -m`
if [ `basename $dir` = Linux ] ; then cd ..; fi
echo "Creating device files..."
minor=0
major=`awk ' /ipf/ { print $1; } ' /proc/devices`
for i in ipl ipnat ipstate ipauth ipsync ipscan iplookup; do
echo ".../dev/$i"
mknod /dev/$i c $major $minor
minor=`expr $minor + 1`
done
exit 0