c019a514cc
(Portage version: 2.2.0_alpha123/git/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
16 lines
482 B
Bash
16 lines
482 B
Bash
#!/bin/bash
|
|
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
device=$(grep "Hardware[[:space:]]*:" /proc/cpuinfo 2>/dev/null | \
|
|
head -n1 | sed "s/^[^:]*: //")
|
|
case $device in
|
|
"Buffalo Linkstation Pro/Live" | "Buffalo/Revogear Kurobox Pro")
|
|
exec /usr/sbin/micro-evtd.pro "$@" ;;
|
|
"Buffalo TeraStation Pro/Live")
|
|
exec /usr/sbin/micro-evtd.tera "$@" ;;
|
|
*)
|
|
echo "!! Your device is unsupported !!" ;;
|
|
esac
|