exec singel func

pull/19/head
6543 5 years ago
parent 49901e1f32
commit 98e0b6c835
  1. 5
      src/func/check_dependency
  2. 5
      src/func/check_user
  3. 5
      src/func/chroot_clean
  4. 5
      src/func/chroot_initial
  5. 5
      src/func/chroot_is_mounted
  6. 5
      src/func/chroot_sh
  7. 5
      src/func/chroot_umount
  8. 5
      src/func/error_code
  9. 5
      src/func/filesystem_extract
  10. 5
      src/func/filesystem_get_type
  11. 5
      src/func/filesystem_pack
  12. 5
      src/func/iso_create
  13. 5
      src/func/iso_extract
  14. 5
      src/func/on_exit
  15. 5
      src/func/workspace_erase
  16. 16
      src/mods/xrdp
  17. 5
      src/proj/debian
  18. 5
      src/proj/desinfect.17
  19. 5
      src/proj/ubuntu
  20. 5
      src/proj/ubuntu.16.04
  21. 4
      src/remaster.sh

@ -13,3 +13,8 @@ function check_dependency() {
done
return 0
}

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

@ -10,3 +10,8 @@ function check_user() {
return 10
}
}

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

@ -15,3 +15,8 @@ function chroot_clean() {

echo "done"
}

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

@ -24,3 +24,8 @@ function chroot_initial() {

echo "done"
}

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

@ -15,3 +15,8 @@ function chroot_is_mounted() {
echo "false"
fi
}

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

@ -22,3 +22,8 @@ function chroot_sh() {

chroot "$chroot_dir" /bin/bash --login -c ". /tmp/env.sh; $command"
}

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

@ -24,3 +24,8 @@ function chroot_umount() {

echo "done"
}

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

@ -58,3 +58,8 @@ function error_code() {
;;
esac
}

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

@ -41,3 +41,8 @@ function filesystem_extract() {

echo "done"
}

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

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

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

@ -30,3 +30,8 @@ function filesystem_pack() {

echo "done"
}

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

@ -24,3 +24,8 @@ function iso_create() {

echo "done"
}

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

@ -45,3 +45,8 @@ function iso_extract() {

echo "done"
}

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

@ -27,3 +27,8 @@ function on_exit() {
}
exit $1
}

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

@ -12,3 +12,8 @@ function workspace_erase() {

echo "done"
}

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

@ -0,0 +1,16 @@
#!/bin/bash
#remaster lib
[ -d "<LIBDIR>" ] || { echo "LIBDIR not exist"; exit 1; }



## ...





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

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

echo "done"
}

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

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

TEST2="na"

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

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

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

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

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

@ -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

#####################################################################################

Loading…
Cancel
Save