summaryrefslogtreecommitdiff
path: root/extras/dvb.sh
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-10-15 19:18:58 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 22:02:45 -0700
commit29afcc5f111f780869a7b091600b106136e11b6d (patch)
treee33668d1a1ee14caff23c37cfe6880d2f74ad916 /extras/dvb.sh
parent13299c29e7d87d38079fd8a25def44103564d9f4 (diff)
[PATCH] add some helper scripts for dvb and input devices.
Diffstat (limited to 'extras/dvb.sh')
-rw-r--r--extras/dvb.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/dvb.sh b/extras/dvb.sh
new file mode 100644
index 0000000000..b14a6d0d7b
--- /dev/null
+++ b/extras/dvb.sh
@@ -0,0 +1,3 @@
+#!/bin/sh -e
+echo $1 | sed -e 's#^dvb\([0-9]\)\.\([^0-9]*\)\([0-9]\)#dvb/adapter\1/\2\3#'
+exit 0