diff --git a/doc/Server Bedienung.odt b/doc/Server Bedienung.odt new file mode 100644 index 0000000..2fc0b13 Binary files /dev/null and b/doc/Server Bedienung.odt differ diff --git a/doc/Server Bedienung.pdf b/doc/Server Bedienung.pdf new file mode 100644 index 0000000..cb15abf Binary files /dev/null and b/doc/Server Bedienung.pdf differ diff --git a/src/func/check_dependency b/src/func/check_dependency old mode 100644 new mode 100755 index 1a60c3f..53e25a5 --- a/src/func/check_dependency +++ b/src/func/check_dependency @@ -13,3 +13,8 @@ function check_dependency() { done return 0 } + +[ -n "$1" ] && { + echo param + $1 +} diff --git a/src/func/check_user b/src/func/check_user old mode 100644 new mode 100755 index 7980462..e36cd40 --- a/src/func/check_user +++ b/src/func/check_user @@ -10,3 +10,8 @@ function check_user() { return 10 } } + +[ -n "$1" ] && { + echo param + $1 +} diff --git a/src/func/chroot_clean b/src/func/chroot_clean old mode 100644 new mode 100755 index 5817ec1..137d0ed --- a/src/func/chroot_clean +++ b/src/func/chroot_clean @@ -15,3 +15,8 @@ function chroot_clean() { echo "done" } + +[ -n "$1" ] && { + echo param + $1 +} diff --git a/src/func/chroot_initial b/src/func/chroot_initial old mode 100644 new mode 100755 index c9abc3a..7977b67 --- a/src/func/chroot_initial +++ b/src/func/chroot_initial @@ -24,3 +24,8 @@ function chroot_initial() { echo "done" } + +[ -n "$1" ] && { + echo param + $1 +} diff --git a/src/func/chroot_is_mounted b/src/func/chroot_is_mounted old mode 100644 new mode 100755 index 816a1d3..067cf31 --- a/src/func/chroot_is_mounted +++ b/src/func/chroot_is_mounted @@ -15,3 +15,8 @@ function chroot_is_mounted() { echo "false" fi } + +[ -n "$1" ] && { + echo param + $1 +} diff --git a/src/func/chroot_sh b/src/func/chroot_sh old mode 100644 new mode 100755 index 0195203..4013e62 --- a/src/func/chroot_sh +++ b/src/func/chroot_sh @@ -22,3 +22,8 @@ function chroot_sh() { chroot "$chroot_dir" /bin/bash --login -c ". /tmp/env.sh; $command" } + +[ -n "$1" ] && { + echo param + $1 +} diff --git a/src/func/chroot_umount b/src/func/chroot_umount old mode 100644 new mode 100755 index d0d902e..2790866 --- a/src/func/chroot_umount +++ b/src/func/chroot_umount @@ -24,3 +24,8 @@ function chroot_umount() { echo "done" } + +[ -n "$1" ] && { + echo param + $1 +} diff --git a/src/func/error_code b/src/func/error_code old mode 100644 new mode 100755 index f3c5582..b1c5668 --- a/src/func/error_code +++ b/src/func/error_code @@ -58,3 +58,8 @@ function error_code() { ;; esac } + +[ -n "$1" ] && { + echo param + $1 +} diff --git a/src/func/filesystem_extract b/src/func/filesystem_extract old mode 100644 new mode 100755 index 961dd07..a4f52c0 --- a/src/func/filesystem_extract +++ b/src/func/filesystem_extract @@ -41,3 +41,8 @@ function filesystem_extract() { echo "done" } + +[ -n "$1" ] && { + echo param + $1 +} diff --git a/src/func/filesystem_get_type b/src/func/filesystem_get_type old mode 100644 new mode 100755 index e23c130..fa0e22f --- a/src/func/filesystem_get_type +++ b/src/func/filesystem_get_type @@ -8,3 +8,8 @@ function filesystem_get_type() { fs_aTemp=(`df -T "$1"`) echo ${fs_aTemp[9]} } + +[ -n "$1" ] && { + echo param + $1 +} diff --git a/src/func/filesystem_pack b/src/func/filesystem_pack old mode 100644 new mode 100755 index 6e3b09a..c5a0a8d --- a/src/func/filesystem_pack +++ b/src/func/filesystem_pack @@ -30,3 +30,8 @@ function filesystem_pack() { echo "done" } + +[ -n "$1" ] && { + echo param + $1 +} diff --git a/src/func/iso_create b/src/func/iso_create old mode 100644 new mode 100755 index b3f6871..113d756 --- a/src/func/iso_create +++ b/src/func/iso_create @@ -24,3 +24,8 @@ function iso_create() { echo "done" } + +[ -n "$1" ] && { + echo param + $1 +} diff --git a/src/func/iso_extract b/src/func/iso_extract old mode 100644 new mode 100755 index c69de53..8912116 --- a/src/func/iso_extract +++ b/src/func/iso_extract @@ -45,3 +45,8 @@ function iso_extract() { echo "done" } + +[ -n "$1" ] && { + echo param + $1 +} diff --git a/src/func/on_exit b/src/func/on_exit old mode 100644 new mode 100755 index 0015d55..cbf1c9f --- a/src/func/on_exit +++ b/src/func/on_exit @@ -27,3 +27,8 @@ function on_exit() { } exit $1 } + +[ -n "$1" ] && { + echo param + $1 +} diff --git a/src/func/workspace_erase b/src/func/workspace_erase old mode 100644 new mode 100755 index 1728d7b..7c26469 --- a/src/func/workspace_erase +++ b/src/func/workspace_erase @@ -12,3 +12,8 @@ function workspace_erase() { echo "done" } + +[ -n "$1" ] && { + echo param + $1 +} diff --git a/src/mods/xrdp b/src/mods/xrdp old mode 100644 new mode 100755 index e69de29..6c47b6e --- a/src/mods/xrdp +++ b/src/mods/xrdp @@ -0,0 +1,16 @@ +#!/bin/bash +#remaster lib +[ -d "" ] || { echo "LIBDIR not exist"; exit 1; } + + + +## ... + + + + + +[ -n "$1" ] && { + echo param + $1 +} diff --git a/src/proj/debian b/src/proj/debian old mode 100644 new mode 100755 index db0aaa4..25f461e --- a/src/proj/debian +++ b/src/proj/debian @@ -35,3 +35,8 @@ function os_update() { echo "done" } + +[ -n "$1" ] && { + echo param + $1 +} diff --git a/src/proj/desinfect.17 b/src/proj/desinfect.17 old mode 100644 new mode 100755 index eedc2ce..48140f3 --- a/src/proj/desinfect.17 +++ b/src/proj/desinfect.17 @@ -7,3 +7,8 @@ source /proj/ubuntu.16.04 TEST2="na" + +[ -n "$1" ] && { + echo param + $1 +} diff --git a/src/proj/ubuntu b/src/proj/ubuntu old mode 100644 new mode 100755 index cd36ae9..180485c --- a/src/proj/ubuntu +++ b/src/proj/ubuntu @@ -7,3 +7,8 @@ #################################### # . -> debian source /proj/debian + +[ -n "$1" ] && { + echo param + $1 +} diff --git a/src/proj/ubuntu.16.04 b/src/proj/ubuntu.16.04 old mode 100644 new mode 100755 index 427a76a..cc7275a --- a/src/proj/ubuntu.16.04 +++ b/src/proj/ubuntu.16.04 @@ -5,3 +5,8 @@ #ubuntu.16.04 # . -> ubuntu -> debian source /proj/ubuntu + +[ -n "$1" ] && { + echo param + $1 +} diff --git a/src/remaster.sh b/src/remaster.sh index f4b85e3..72938f0 100755 --- a/src/remaster.sh +++ b/src/remaster.sh @@ -1,7 +1,7 @@ #!/bin/bash -#@version 1.9.1 +#@version 1.9.2 #@autor 6543@obermui.de -#@date 2018-04-26 +#@date 2018-05-10 #@licence GNUv3 #####################################################################################