exec singel func

This commit is contained in:
6543
2018-05-10 17:13:19 +02:00
parent 49901e1f32
commit 98e0b6c835
21 changed files with 113 additions and 2 deletions

5
src/func/check_dependency Normal file → Executable file
View File

@ -13,3 +13,8 @@ function check_dependency() {
done
return 0
}
[ -n "$1" ] && {
echo param
$1
}

5
src/func/check_user Normal file → Executable file
View File

@ -10,3 +10,8 @@ function check_user() {
return 10
}
}
[ -n "$1" ] && {
echo param
$1
}

5
src/func/chroot_clean Normal file → Executable file
View File

@ -15,3 +15,8 @@ function chroot_clean() {
echo "done"
}
[ -n "$1" ] && {
echo param
$1
}

5
src/func/chroot_initial Normal file → Executable file
View File

@ -24,3 +24,8 @@ function chroot_initial() {
echo "done"
}
[ -n "$1" ] && {
echo param
$1
}

5
src/func/chroot_is_mounted Normal file → Executable file
View File

@ -15,3 +15,8 @@ function chroot_is_mounted() {
echo "false"
fi
}
[ -n "$1" ] && {
echo param
$1
}

5
src/func/chroot_sh Normal file → Executable file
View File

@ -22,3 +22,8 @@ function chroot_sh() {
chroot "$chroot_dir" /bin/bash --login -c ". /tmp/env.sh; $command"
}
[ -n "$1" ] && {
echo param
$1
}

5
src/func/chroot_umount Normal file → Executable file
View File

@ -24,3 +24,8 @@ function chroot_umount() {
echo "done"
}
[ -n "$1" ] && {
echo param
$1
}

5
src/func/error_code Normal file → Executable file
View File

@ -58,3 +58,8 @@ function error_code() {
;;
esac
}
[ -n "$1" ] && {
echo param
$1
}

5
src/func/filesystem_extract Normal file → Executable file
View File

@ -41,3 +41,8 @@ function filesystem_extract() {
echo "done"
}
[ -n "$1" ] && {
echo param
$1
}

5
src/func/filesystem_get_type Normal file → Executable file
View File

@ -8,3 +8,8 @@ function filesystem_get_type() {
fs_aTemp=(`df -T "$1"`)
echo ${fs_aTemp[9]}
}
[ -n "$1" ] && {
echo param
$1
}

5
src/func/filesystem_pack Normal file → Executable file
View File

@ -30,3 +30,8 @@ function filesystem_pack() {
echo "done"
}
[ -n "$1" ] && {
echo param
$1
}

5
src/func/iso_create Normal file → Executable file
View File

@ -24,3 +24,8 @@ function iso_create() {
echo "done"
}
[ -n "$1" ] && {
echo param
$1
}

5
src/func/iso_extract Normal file → Executable file
View File

@ -45,3 +45,8 @@ function iso_extract() {
echo "done"
}
[ -n "$1" ] && {
echo param
$1
}

5
src/func/on_exit Normal file → Executable file
View File

@ -27,3 +27,8 @@ function on_exit() {
}
exit $1
}
[ -n "$1" ] && {
echo param
$1
}

5
src/func/workspace_erase Normal file → Executable file
View File

@ -12,3 +12,8 @@ function workspace_erase() {
echo "done"
}
[ -n "$1" ] && {
echo param
$1
}