#!/bin/sh

if [ $# -ne 2 ]; then
	exit 1
fi

if [ "`echo $1 | cut -c 1-5`" != "/sys/" ]; then
	exit 1
fi

echo $2 > $1
