standalone executable

This commit is contained in:
6543 2018-05-11 00:04:02 +02:00
parent 401abf1f4b
commit 2513b645c1
20 changed files with 35 additions and 52 deletions

View File

@ -14,7 +14,7 @@ function check_dependency() {
return 0
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
check_dependency $@
}

View File

@ -11,7 +11,7 @@ function check_user() {
}
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
check_user $@
}

View File

@ -16,7 +16,7 @@ function chroot_clean() {
echo "done"
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
chroot_clean $@
}

View File

@ -25,7 +25,7 @@ function chroot_initial() {
echo "done"
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
chroot_initial $@
}

View File

@ -16,7 +16,7 @@ function chroot_is_mounted() {
fi
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
chroot_is_mounted $@
}

View File

@ -23,7 +23,7 @@ function chroot_sh() {
chroot "$chroot_dir" /bin/bash --login -c ". /tmp/env.sh; $command"
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
chroot_sh $@
}

View File

@ -25,7 +25,7 @@ function chroot_umount() {
echo "done"
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
chroot_umount $@
}

View File

@ -53,13 +53,16 @@ function error_code() {
22)
echo "wrong filesystem"
;;
all)
error_code
;;
*)
echo $'No Defined Error Code.\nPerhaps an Error ocure on a Command wich was started by this Skritp.'
;;
esac
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
error_code $@
}

View File

@ -42,7 +42,7 @@ function filesystem_extract() {
echo "done"
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
filesystem_extract $@
}

View File

@ -9,7 +9,7 @@ function filesystem_get_type() {
echo ${fs_aTemp[9]}
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
filesystem_get_type $@
}

View File

@ -31,7 +31,7 @@ function filesystem_pack() {
echo "done"
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
filesystem_pack $@
}

View File

@ -25,7 +25,7 @@ function iso_create() {
echo "done"
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
iso_create $@
}

View File

@ -46,7 +46,7 @@ function iso_extract() {
echo "done"
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
iso_extract $@
}

View File

@ -28,7 +28,7 @@ function on_exit() {
exit $1
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
on_exit $@
}

View File

@ -13,7 +13,7 @@ function workspace_erase() {
echo "done"
}

#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
workspace_erase $@
}

View File

@ -10,7 +10,7 @@



#this func is standalone executable
[ -n "$1" ] && {
echo param
$1
xrdp $@
}

View File

@ -35,8 +35,3 @@ function os_update() {

echo "done"
}

[ -n "$1" ] && {
echo param
$1
}

View File

@ -7,8 +7,3 @@
source <LIBDIR>/proj/ubuntu.16.04

TEST2="na"

[ -n "$1" ] && {
echo param
$1
}

View File

@ -7,8 +7,3 @@
####################################
# . -> debian
source <LIBDIR>/proj/debian

[ -n "$1" ] && {
echo param
$1
}

View File

@ -5,8 +5,3 @@
#ubuntu.16.04
# . -> ubuntu -> debian
source <LIBDIR>/proj/ubuntu

[ -n "$1" ] && {
echo param
$1
}