#!/bin/sh set -e dir=vibration rm -rf "$dir" mkdir -p "$dir" cat > "$dir/module.prop" << EOF id=vibration name=Vibration intensity setting version=1 versionCode=1 author=me description= EOF install -Dm755 vibration.files/service.sh \ "$dir/service.sh" ./package.sh "$dir" rm -rf "$dir"