#!/bin/sh -e# this is required for kernels older than 2.6.14 [ "$VENDOR_ID" -a "$MODEL_ID" -a "$SPECIFIER_ID" -a "$VERSION" ] || exit 1 printf "MODALIAS='ieee1394:ven%08Xmo%08Xsp%08Xver%08X'\n" \ $((0x$VENDOR_ID)) $((0x$MODEL_ID)) $((0x$SPECIFIER_ID)) $((0x$VERSION))
#!/bin/sh -e
# this is required for kernels older than 2.6.14
[ "$VENDOR_ID" -a "$MODEL_ID" -a "$SPECIFIER_ID" -a "$VERSION" ] || exit 1
printf "MODALIAS='ieee1394:ven%08Xmo%08Xsp%08Xver%08X'\n" \
$((0x$VENDOR_ID)) $((0x$MODEL_ID)) $((0x$SPECIFIER_ID)) $((0x$VERSION))