mirror of
https://github.com/Thinstation/thinstation-ng.git
synced 2025-04-26 21:01:08 +03:00

new file: ts/build/packages/template/bin/your_own_binaries_should_go_here new file: ts/build/packages/template/build/conf/50example new file: ts/build/packages/template/build/finalize new file: ts/build/packages/template/build/pip3.freeze new file: ts/build/packages/template/dependencies new file: ts/build/packages/template/etc/cmd/README new file: ts/build/packages/template/etc/cmd/example.fullscreen new file: ts/build/packages/template/etc/cmd/example.global new file: ts/build/packages/template/etc/cmd/example.window new file: ts/build/packages/template/etc/console/README new file: ts/build/packages/template/etc/init.d/example new file: ts/build/packages/template/etc/init.d/example.init new file: ts/build/packages/template/etc/systemd/system/example.service new file: ts/build/packages/template/etc/systemd/system/multi-user.target.wants/example.service new file: ts/build/packages/template/lib64/any_additional_libs_go_here new file: ts/build/packages/template/lib64/icons/hicolor/scalable/apps/example.svg new file: ts/build/packages/template/lib64/menu/README new file: ts/build/packages/template/lib64/menu/example
33 lines
601 B
Bash
Executable file
33 lines
601 B
Bash
Executable file
#! /bin/sh
|
|
|
|
. `dirname $0`/common
|
|
|
|
# You can anything that your application needs to have configured or downloaded here.
|
|
# This should run during boot, but not necessarily start your application.
|
|
# If you need a process started during boot, you would need to adjust the .service file from oneshot to simple,
|
|
# along with a few other minor changes
|
|
|
|
case "$1" in
|
|
init)
|
|
if ! pkg_initialized $PACKAGE; then
|
|
|
|
# Your startup instructions go here
|
|
|
|
pkg_set_init_flag $PACKAGE
|
|
fi
|
|
;;
|
|
console)
|
|
;;
|
|
window)
|
|
;;
|
|
fullscreen)
|
|
;;
|
|
help)
|
|
echo "Usage: $0 init"
|
|
;;
|
|
*)
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
exit 0
|