mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-08 21:18:00 +03:00
Adding thinstation stuff
This commit is contained in:
parent
9265ab3ac3
commit
9d6f3111da
10
client/thin/thinstation/README.txt
Normal file
10
client/thin/thinstation/README.txt
Normal file
@ -0,0 +1,10 @@
|
||||
Steps:
|
||||
1.- Copy the folder "udsclient" to /build/packages inside the thinstation build environment
|
||||
2.- enter the chroot of thinstation
|
||||
3.- go to the udsclient folder (/build/packages/udsclient)
|
||||
4.- Execute "build.sh"
|
||||
5.- Edit the file /build/build.conf, and add this line:
|
||||
package udsclient
|
||||
6.- Execute the build process
|
||||
|
||||
Ready!!!
|
0
client/thin/thinstation/udsclient/.dna
Normal file
0
client/thin/thinstation/udsclient/.dna
Normal file
2
client/thin/thinstation/udsclient/.gitignore
vendored
Normal file
2
client/thin/thinstation/udsclient/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
lib
|
||||
|
5
client/thin/thinstation/udsclient/build.sh
Executable file
5
client/thin/thinstation/udsclient/build.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
pip install paramiko requests six
|
||||
rm -rf lib
|
||||
mkdir -p lib/python2.7/site-packages
|
||||
for a in requests paramiko pyasn1 cryptography packaging idna asn1crypto six enum ipaddress cffi ; do cp -r /usr/lib/python2.7/site-packages/$a* lib/python2.7/site-packages/; done
|
3
client/thin/thinstation/udsclient/dependencies
Normal file
3
client/thin/thinstation/udsclient/dependencies
Normal file
@ -0,0 +1,3 @@
|
||||
base
|
||||
#add your own dependancies to this file, base should always be included.
|
||||
python
|
15
client/thin/thinstation/udsclient/etc/cmd/README
Normal file
15
client/thin/thinstation/udsclient/etc/cmd/README
Normal file
@ -0,0 +1,15 @@
|
||||
In here you place the commands to start your application if using the scripts
|
||||
|
||||
/etc/thinstation.packages
|
||||
or /etc/thinstation.console
|
||||
|
||||
see examples for for information
|
||||
|
||||
|
||||
possible types are
|
||||
|
||||
example.global (this is always needed)
|
||||
example.menu
|
||||
example.console
|
||||
example.window
|
||||
example.fullscreen
|
1
client/thin/thinstation/udsclient/etc/cmd/example.fullscreen
Executable file
1
client/thin/thinstation/udsclient/etc/cmd/example.fullscreen
Executable file
@ -0,0 +1 @@
|
||||
CMD_FULLSCREEN="example -FULLSCREEN"
|
1
client/thin/thinstation/udsclient/etc/cmd/example.global
Executable file
1
client/thin/thinstation/udsclient/etc/cmd/example.global
Executable file
@ -0,0 +1 @@
|
||||
CMD_GLOBAL="example -startapp"
|
1
client/thin/thinstation/udsclient/etc/console/README
Normal file
1
client/thin/thinstation/udsclient/etc/console/README
Normal file
@ -0,0 +1 @@
|
||||
Place a 0 length file in here as the same name as the package if your application is a Console App
|
34
client/thin/thinstation/udsclient/etc/init.d/your_start_up_script
Executable file
34
client/thin/thinstation/udsclient/etc/init.d/your_start_up_script
Executable file
@ -0,0 +1,34 @@
|
||||
#! /bin/sh
|
||||
|
||||
. /etc/thinstation.global
|
||||
|
||||
# note you can replace this package with a symlink to /etc/thinstation.packages
|
||||
# for GUI apps, or /etc/thinstation.console for console apps
|
||||
# if you do then you will need to create a seperate initilization script for
|
||||
# any other parameters which need to be started at bootup
|
||||
|
||||
|
||||
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
|
@ -0,0 +1 @@
|
||||
/etc/init.d/your_start_up_script
|
Loading…
Reference in New Issue
Block a user