From e328cc3bf9464a22ac8964cb7c5e1c7503e62d71 Mon Sep 17 00:00:00 2001 From: nagumii Date: Sat, 11 Jan 2025 19:01:49 +0200 Subject: [PATCH] rename file --- .../local/bin/packages/package_template.sh | 141 ++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100755 foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/packages/package_template.sh diff --git a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/packages/package_template.sh b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/packages/package_template.sh new file mode 100755 index 0000000..194695f --- /dev/null +++ b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/packages/package_template.sh @@ -0,0 +1,141 @@ +#!/bin/bash +if [[ $EUID -ne 0 ]]; then + echo "This script must be run as root. Try \`sudo\`." + exit 1 +fi +if [ $# -eq 0 ]; then + echo "No arguments provided." + echo -e "$help" + exit 1 +fi + +args="$@" # arguments to this script +interaction="true" +help=$(cat <