From 15f5ad5fab6348176dd2f829367d239fd18d20d2 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Mon, 21 May 2018 16:25:43 +0200 Subject: [PATCH 1/6] example in debian template --- src/proj/debian | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/proj/debian b/src/proj/debian index 299a347..107fbb5 100755 --- a/src/proj/debian +++ b/src/proj/debian @@ -13,7 +13,7 @@ project_relation="debian" #tools_add [chroot_dir] [tools_list] -function tools_add() { +function tools_add-debian() { echo "add tools ... " #$1 = chroot directory chroot_dir="$1" @@ -24,9 +24,10 @@ function tools_add() { chroot "$chroot_dir" /bin/bash -c "apt-get install -y $tools_list" | grep -v "wird eingerichtet ..." | grep -v "Vormals nicht ausgewähltes Paket" | grep -v "Entpacken von" | grep -v "Holen: " | grep -v "Trigger für" | grep -v "update-alternatives:" echo "done" } +alias tools_add="tools_add-debian" #os_update [chroot_dir] -function os_update() { +function os_update-debian() { echo "updating os ... " #$1 = chroot directory @@ -39,9 +40,10 @@ function os_update() { echo "done" } +alias os_update="os_update-debian" #proxy_enable [chroot_dir] [proxy_host] [proxy_port] -function proxy_enable() { +function proxy_enable-debian() { echo -n "enable proxy ... " chroot_dir="$1" @@ -77,9 +79,10 @@ function proxy_enable() { fi fi } +alias proxy_enable="proxy_enable-debian" #dns_set [chroot_dir] [domain] [nameserver] -function dns_set() { +function dns_set-debian() { echo -n "set dns config ... " rm "$chroot_dir/etc/resolv.conf" @@ -92,3 +95,4 @@ function dns_set() { echo "done" } +alias dns_set="dns_set-debian" From c4eeb44eaaff4b12de5912b97d2fd91dec1c6e30 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Tue, 22 May 2018 00:30:51 +0200 Subject: [PATCH 2/6] use online functions instead alias --- src/proj/debian | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/proj/debian b/src/proj/debian index 107fbb5..5fe9c2b 100755 --- a/src/proj/debian +++ b/src/proj/debian @@ -24,7 +24,7 @@ function tools_add-debian() { chroot "$chroot_dir" /bin/bash -c "apt-get install -y $tools_list" | grep -v "wird eingerichtet ..." | grep -v "Vormals nicht ausgewähltes Paket" | grep -v "Entpacken von" | grep -v "Holen: " | grep -v "Trigger für" | grep -v "update-alternatives:" echo "done" } -alias tools_add="tools_add-debian" +function tools_add() { tools_add-debian $@ } #os_update [chroot_dir] function os_update-debian() { @@ -40,7 +40,7 @@ function os_update-debian() { echo "done" } -alias os_update="os_update-debian" +function os_update() { os_update-debian $@ } #proxy_enable [chroot_dir] [proxy_host] [proxy_port] function proxy_enable-debian() { @@ -79,7 +79,7 @@ function proxy_enable-debian() { fi fi } -alias proxy_enable="proxy_enable-debian" +function proxy_enable() { proxy_enable-debian $@ } #dns_set [chroot_dir] [domain] [nameserver] function dns_set-debian() { @@ -95,4 +95,4 @@ function dns_set-debian() { echo "done" } -alias dns_set="dns_set-debian" +function dns_set() { dns_set-debian $@ } From 29a8d529c9b2502478f9ea4a3c2b85d2d116c9d1 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Tue, 22 May 2018 00:46:31 +0200 Subject: [PATCH 3/6] remove special function cals --- src/remaster.sh | 39 ++++++++++++++++++--------------------- 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/src/remaster.sh b/src/remaster.sh index d6060d2..39e6228 100755 --- a/src/remaster.sh +++ b/src/remaster.sh @@ -111,8 +111,6 @@ function main_renew() { check_update >> "$log_file" - [ "$project" != "" ] && project="_$project" - # 2. Entpacke ISO iso_extract "$iso_source" "$iso_extr_dir" >> "$log_file" @@ -128,12 +126,12 @@ function main_renew() { # 4. Vorbereiten für chroot-Umgebung: - chroot_initial$project "$chroot_path" >> "$log_file" + chroot_initial "$chroot_path" >> "$log_file" error_level="$?"; [ "$error_level" != "0" ] && on_exit $error_level >> "$log_file" # 5. Setzen der Netzwerk-Einstellungen: [ -n "$proxy_host" ] && { - proxy_enable$project "$chroot_path" "$proxy_host" "$proxy_port" >> "$log_file" + proxy_enable "$chroot_path" "$proxy_host" "$proxy_port" >> "$log_file" error_level="$?"; [ "$error_level" != "0" ] && on_exit $error_level >> "$log_file" } @@ -141,12 +139,12 @@ function main_renew() { error_level="$?"; [ "$error_level" != "0" ] && on_exit $error_level >> "$log_file" # 6. Updaten von Desinfec't: - os_update$project "$chroot_path" >> "$log_file" + os_update "$chroot_path" >> "$log_file" error_level="$?"; [ "$error_level" != "0" ] && on_exit $error_level >> "$log_file" # 7. Installation optionaler Tools: - tools_add$project "$chroot_path" "$tools_list" >> "$log_file" + tools_add "$chroot_path" "$tools_list" >> "$log_file" error_level="$?"; [ "$error_level" != "0" ] && on_exit $error_level >> "$log_file" #addo ClamAV to conky_info @@ -169,7 +167,7 @@ function main_renew() { # 9. Umount - Chroot Umgebung auflösen - chroot_umount$project "$chroot_path" >> "$log_file" + chroot_umount "$chroot_path" >> "$log_file" error_level="$?"; [ "$error_level" != "0" ] && on_exit $error_level >> "$log_file" #Überprüfen ob alles ausgehängt wurde @@ -187,7 +185,7 @@ function main_renew() { # wenn iso gewünscht [ "$iso_aim" != "" ] && { - iso_create$project "$chroot_path" "$iso_extr_dir" "$iso_aim" "$iso_lable" >> "$log_file" + iso_create "$chroot_path" "$iso_extr_dir" "$iso_aim" "$iso_lable" >> "$log_file" error_level="$?"; [ "$error_level" != "0" ] && on_exit $error_level >> "$log_file" } @@ -266,8 +264,6 @@ function main_update_pxe() { check_config >> "$log_file" error_level="$?"; [ "$error_level" != "0" ] && on_exit $error_level >> "$log_file" - [ "$project" != "" ] && project="_$project" - # 1. Entpacken der Dateien des Live-Systems [ -e "$squashfs_path" ] || { echo "### ERROR ### \"$squashfs_path\" does not exist!" >> "$log_file" @@ -279,7 +275,7 @@ function main_update_pxe() { # 2. Vorbereiten für chroot-Umgebung: - chroot_initial$project "$chroot_path" >> "$log_file" + chroot_initial "$chroot_path" >> "$log_file" error_level="$?"; [ "$error_level" != "0" ] && on_exit $error_level >> "$log_file" # 3. Setzen der Netzwerk-Einstellungen: @@ -288,7 +284,7 @@ function main_update_pxe() { error_level="$?"; [ "$error_level" != "0" ] && on_exit $error_level >> "$log_file" # 4. Updaten von Desinfec't: - os_update$project "$chroot_path" >> "$log_file" + os_update "$chroot_path" >> "$log_file" error_level="$?"; [ "$error_level" != "0" ] && on_exit $error_level >> "$log_file" # 5. Manuelle Aktionen - deaktiviert @@ -301,7 +297,7 @@ function main_update_pxe() { # 6. Umount - Chroot Umgebung auflösen - chroot_umount$project "$chroot_path" >> "$log_file" + chroot_umount "$chroot_path" >> "$log_file" error_level="$?"; [ "$error_level" != "0" ] && on_exit $error_level >> "$log_file" #Überprüfen ob alles ausgehängt wurde @@ -391,8 +387,6 @@ function main_update_iso() { check_config >> "$log_file" error_level="$?"; [ "$error_level" != "0" ] && on_exit $error_level >> "$log_file" - [ "$project" != "" ] && project="_$project" - # 2. Entpacke ISO iso_extract "$iso_source" "$iso_extr_dir" >> "$log_file" @@ -418,12 +412,12 @@ function main_update_iso() { # 4. Vorbereiten für chroot-Umgebung: - chroot_initial$project "$chroot_path" >> "$log_file" + chroot_initial "$chroot_path" >> "$log_file" error_level="$?"; [ "$error_level" != "0" ] && on_exit $error_level >> "$log_file" # 5. Setzen der Netzwerk-Einstellungen: [ -n "$proxy_host" ] && { - proxy_enable$project "$chroot_path" "$proxy_host" "$proxy_port" >> "$log_file" + proxy_enable "$chroot_path" "$proxy_host" "$proxy_port" >> "$log_file" error_level="$?"; [ "$error_level" != "0" ] && on_exit $error_level >> "$log_file" } @@ -431,12 +425,12 @@ function main_update_iso() { error_level="$?"; [ "$error_level" != "0" ] && on_exit $error_level >> "$log_file" # 6. Updaten von Desinfec't: - os_update$project "$chroot_path" >> "$log_file" + os_update "$chroot_path" >> "$log_file" error_level="$?"; [ "$error_level" != "0" ] && on_exit $error_level >> "$log_file" # 7. Installation optionaler Tools: - tools_add$project "$chroot_path" "$tools_list" >> "$log_file" + tools_add "$chroot_path" "$tools_list" >> "$log_file" error_level="$?"; [ "$error_level" != "0" ] && on_exit $error_level >> "$log_file" #addo ClamAV to conky_info @@ -454,7 +448,7 @@ function main_update_iso() { # 9. Umount - Chroot Umgebung auflösen - chroot_umount$project "$chroot_path" >> "$log_file" + chroot_umount "$chroot_path" >> "$log_file" error_level="$?"; [ "$error_level" != "0" ] && on_exit $error_level >> "$log_file" #Überprüfen ob alles ausgehängt wurde @@ -472,7 +466,7 @@ function main_update_iso() { # wenn iso gewünscht [ "$iso_aim" != "" ] && { - iso_create$project "$chroot_path" "$iso_extr_dir" "$iso_aim" "$iso_lable" >> "$log_file" + iso_create "$chroot_path" "$iso_extr_dir" "$iso_aim" "$iso_lable" >> "$log_file" error_level="$?"; [ "$error_level" != "0" ] && on_exit $error_level >> "$log_file" } @@ -566,7 +560,10 @@ source /func/chroot_is_mounted #chroot_sh [chroot_dir] [command] source /func/chroot_sh +#################################### +### Workaround - set Project source /proj/desinfect.17 +#################################### ### Handle Parameters & Modes ### From 2752dcc5ca8dcd15a6942b315502495bc4b0581b Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Tue, 22 May 2018 00:47:11 +0200 Subject: [PATCH 4/6] change desinfect.17 to overload some funktions --- src/proj/desinfect.17 | 49 ++++++++++++------------------------------- 1 file changed, 13 insertions(+), 36 deletions(-) diff --git a/src/proj/desinfect.17 b/src/proj/desinfect.17 index 6f6d334..e4085da 100755 --- a/src/proj/desinfect.17 +++ b/src/proj/desinfect.17 @@ -69,14 +69,14 @@ function sourcelist_desinfect_set_extendet2017() { echo "done" } -#os_update_desinfect.17 [chroot_dir] -function os_update_desinfect.17() { +#os_update-desinfect.17 [chroot_dir] +function os_update-desinfect.17() { #$1 = chroot directory chroot_dir="$1" - #call main os_update - os_update "$chroot_dir" + #call main os_update from debian + os_update-debian "$chroot_dir" echo "update virus definitions ... " @@ -162,37 +162,12 @@ function os_update_desinfect.17() { echo "update virus definitions done" } +function os_update() { os_update-desinfect.17 $@ } -#iso_create_desinfect.17 [chroot_path] [iso_extr_dir] [iso_aim] [iso_lable] -function iso_create_desinfect.17() { - #echo "prepere iso folder ... " +#proxy_enable-desinfect.17 [chroot_dir] [proxy_host] [proxy_port] +function proxy_enable-desinfect.17() { - chroot_path="$1" - iso_extr_dir="$2" - iso_aim="$3" - iso_lable="$4" - - iso_create "$chroot_path" "$iso_extr_dir" "$iso_aim" "$iso_lable" -} - -#chroot_initial_desinfect.17 [chroot_dir] -function chroot_initial_desinfect.17() { - #$1 = chroot dir - - chroot_initial "$1" - -} - -#chroot_umount_desinfect.17 [chroot_dir] -function chroot_umount_desinfect.17() { - #call main mount - chroot_umount "$1" -} - -#proxy_enable_desinfect.17 [chroot_dir] [proxy_host] [proxy_port] -function proxy_enable_desinfect.17() { - - proxy_enable $1 $2 $3 + proxy_enable-debian $1 $2 $3 echo "enable proxy for desinfect's av ... " @@ -262,14 +237,16 @@ function proxy_enable_desinfect.17() { echo "done" } +function proxy_enable() { proxy_enable-desinfect.17 $@ } -#tools_add_desinfect.17 [chroot_dir] [tools_list] -function tools_add_desinfect.17() { +#tools_add-desinfect.17 [chroot_dir] [tools_list] +function tools_add-desinfect.17() { #$1 = chroot directory chroot_dir="$1" tools_list="$2" sourcelist_desinfect_set_extendet2017 "$chroot_dir" - tools_add "$chroot_dir" "$tools_list" + tools_add-debian "$chroot_dir" "$tools_list" sourcelist_desinfect_set_nomal2017 "$chroot_dir" } +function tools_add() { tools_add-desinfect.17 $@ } From 32d09b764b1fe47f091e37ad7aca56d6f92e1954 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Tue, 22 May 2018 00:58:05 +0200 Subject: [PATCH 5/6] overlod functions... --- src/proj/desinfect.15 | 42 ++++++++++++++++++--------------- src/proj/desinfect.16 | 54 ++++++++++++++++--------------------------- 2 files changed, 44 insertions(+), 52 deletions(-) diff --git a/src/proj/desinfect.15 b/src/proj/desinfect.15 index 7639578..0bc0081 100755 --- a/src/proj/desinfect.15 +++ b/src/proj/desinfect.15 @@ -9,8 +9,8 @@ project_relation="desinfect.15 $project_relation" -#iso_create_desinfect2015 [chroot_path] [iso_extr_dir] [iso_aim] [iso_lable] -function iso_create_desinfect2015() { +#iso_create-desinfect.15 [chroot_path] [iso_extr_dir] [iso_aim] [iso_lable] +function iso_create-desinfect.15() { echo "prepere iso folder ... " chroot_path="$1" @@ -24,14 +24,15 @@ function iso_create_desinfect2015() { echo "done" - iso_create "$chroot_path" "$iso_extr_dir" "$iso_aim" "$iso_lable" + iso_create-debian "$chroot_path" "$iso_extr_dir" "$iso_aim" "$iso_lable" } +function iso_create() { iso_create-desinfect.15 $@ } -#chroot_initial_desinfect2015 [chroot_dir] -function chroot_initial_desinfect2015() { +#chroot_initial-desinfect.15 [chroot_dir] +function chroot_initial-desinfect.15() { #$1 = chroot dir - chroot_initial "$1" + chroot_initial-debian "$1" echo -n "initial desinfect on chroot ... " @@ -49,11 +50,12 @@ function chroot_initial_desinfect2015() { echo "done" } +function iso_create() { iso_create-desinfect.15 $@ } -#chroot_umount_desinfect2015 [chroot_dir] -function chroot_umount_desinfect2015() { +#chroot_umount-desinfect.15 [chroot_dir] +function chroot_umount-desinfect.15() { #call main mount - chroot_umount "$1" + chroot_umount-debian "$1" echo -n "unmount desinfect on chroot ... " #check chroot dir @@ -74,11 +76,12 @@ function chroot_umount_desinfect2015() { echo "done" } +function chroot_umount() { chroot_umount-desinfect.15 $@ } -#proxy_enable_desinfect2015 [chroot_dir] [proxy_host] [proxy_port] -function proxy_enable_desinfect2015() { +#proxy_enable-desinfect.15 [chroot_dir] [proxy_host] [proxy_port] +function proxy_enable-desinfect.15() { - proxy_enable $1 $2 $3 + proxy_enable-debian $1 $2 $3 echo -n "enable proxy for desinfect's av ... " @@ -105,6 +108,7 @@ function proxy_enable_desinfect2015() { echo "done" } +function proxy_enable() { proxy_enable-desinfect.15 $@ } #sourcelist_desinfect_set_nomal2015 [chroot_dir] function sourcelist_desinfect_set_nomal2015() { @@ -173,14 +177,14 @@ function sourcelist_desinfect_set_extendet2015() { echo "done" } -#os_update_desinfect2015 [chroot_dir] -function os_update_desinfect2015() { +#os_update-desinfect.15 [chroot_dir] +function os_update-desinfect.15() { #$1 = chroot directory chroot_dir="$1" #call main os_update - os_update "$chroot_dir" + os_update-debian "$chroot_dir" echo "update virus definitions ... " @@ -208,14 +212,16 @@ function os_update_desinfect2015() { echo "done" } +function os_update() { os_update-desinfect.15 $@ } -#tools_add_desinfect2015 [chroot_dir] [tools_list] -function tools_add_desinfect2015() { +#tools_add-desinfect.15 [chroot_dir] [tools_list] +function tools_add-desinfect.15() { #$1 = chroot directory chroot_dir="$1" tools_list="$2" sourcelist_desinfect_set_extendet2015 "$chroot_dir" - tools_add "$chroot_dir" "$tools_list" + tools_add-debian "$chroot_dir" "$tools_list" sourcelist_desinfect_set_nomal2015 "$chroot_dir" } +function tools_add() { tools_add-desinfect.15 $@ } diff --git a/src/proj/desinfect.16 b/src/proj/desinfect.16 index 9c8246d..03e8d60 100755 --- a/src/proj/desinfect.16 +++ b/src/proj/desinfect.16 @@ -8,30 +8,11 @@ source /proj/ubuntu.14.04 project_relation="desinfect.16 $project_relation" - -#iso_create_desinfect2016 [chroot_path] [iso_extr_dir] [iso_aim] [iso_lable] -function iso_create_desinfect2016() { - #echo "prepere iso folder ... " - - chroot_path="$1" - iso_extr_dir="$2" - iso_aim="$3" - iso_lable="$4" - - #desinfect - #rm "$iso_extr_dir/casper/initrd.lz" - #wget http://www.heise.de/ct/projekte/desinfect/des15/initrd.lz -O "$iso_extr_dir/casper/initrd.lz" - - #echo "done" - - iso_create "$chroot_path" "$iso_extr_dir" "$iso_aim" "$iso_lable" -} - -#chroot_initial_desinfect2016 [chroot_dir] -function chroot_initial_desinfect2016() { +#chroot_initial-desinfect.16 [chroot_dir] +function chroot_initial-desinfect.16() { #$1 = chroot dir - chroot_initial "$1" + chroot_initial-debian "$1" echo -n "initial desinfect on chroot ... " @@ -47,11 +28,12 @@ function chroot_initial_desinfect2016() { echo "done" } +function chroot_initial() { chroot_initial-desinfect.16 $@ } -#chroot_umount_desinfect2016 [chroot_dir] -function chroot_umount_desinfect2016() { +#chroot_umount-desinfect.16 [chroot_dir] +function chroot_umount-desinfect.16() { #call main mount - chroot_umount "$1" + chroot_umount-debian "$1" echo -n "unmount desinfect on chroot ... " #check chroot dir @@ -69,11 +51,12 @@ function chroot_umount_desinfect2016() { echo "done" } +function chroot_umount() { chroot_umount-desinfect.16 $@ } -#proxy_enable_desinfect2016 [chroot_dir] [proxy_host] [proxy_port] -function proxy_enable_desinfect2016() { +#proxy_enable-desinfect.16 [chroot_dir] [proxy_host] [proxy_port] +function proxy_enable-desinfect.16() { - proxy_enable $1 $2 $3 + proxy_enable-debian $1 $2 $3 echo -n "enable proxy for desinfect's av ... " @@ -112,6 +95,7 @@ function proxy_enable_desinfect2016() { echo "done" } +function proxy_enable() { proxy_enable-desinfect.16 $@ } #sourcelist_desinfect_set_nomal2016 [chroot_dir] function sourcelist_desinfect_set_nomal2016() { @@ -180,14 +164,14 @@ function sourcelist_desinfect_set_extendet2016() { echo "done" } -#os_update_desinfect2016 [chroot_dir] -function os_update_desinfect2016() { +#os_update-desinfect.16 [chroot_dir] +function os_update-desinfect.16() { #$1 = chroot directory chroot_dir="$1" #call main os_update - os_update "$chroot_dir" + os_update-debian "$chroot_dir" echo "update virus definitions ... " @@ -263,14 +247,16 @@ function os_update_desinfect2016() { echo "update virus definitions done" } +function os_update() { os_update-desinfect.16 $@ } -#tools_add_desinfect2016 [chroot_dir] [tools_list] -function tools_add_desinfect2016() { +#tools_add-desinfect.16 [chroot_dir] [tools_list] +function tools_add-desinfect.16() { #$1 = chroot directory chroot_dir="$1" tools_list="$2" sourcelist_desinfect_set_extendet2016 "$chroot_dir" - tools_add "$chroot_dir" "$tools_list" + tools_add-debian "$chroot_dir" "$tools_list" sourcelist_desinfect_set_nomal2016 "$chroot_dir" } +function tools_add() { tools_add-desinfect.16 $@ } From 04e4e98525e64d165bd952d633336b2d652516de Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Tue, 22 May 2018 01:05:32 +0200 Subject: [PATCH 6/6] semilicon fix --- src/proj/debian | 8 ++++---- src/proj/desinfect.15 | 12 ++++++------ src/proj/desinfect.16 | 10 +++++----- src/proj/desinfect.17 | 6 +++--- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/proj/debian b/src/proj/debian index 5fe9c2b..196dbe2 100755 --- a/src/proj/debian +++ b/src/proj/debian @@ -24,7 +24,7 @@ function tools_add-debian() { chroot "$chroot_dir" /bin/bash -c "apt-get install -y $tools_list" | grep -v "wird eingerichtet ..." | grep -v "Vormals nicht ausgewähltes Paket" | grep -v "Entpacken von" | grep -v "Holen: " | grep -v "Trigger für" | grep -v "update-alternatives:" echo "done" } -function tools_add() { tools_add-debian $@ } +function tools_add() { tools_add-debian $@; } #os_update [chroot_dir] function os_update-debian() { @@ -40,7 +40,7 @@ function os_update-debian() { echo "done" } -function os_update() { os_update-debian $@ } +function os_update() { os_update-debian $@; } #proxy_enable [chroot_dir] [proxy_host] [proxy_port] function proxy_enable-debian() { @@ -79,7 +79,7 @@ function proxy_enable-debian() { fi fi } -function proxy_enable() { proxy_enable-debian $@ } +function proxy_enable() { proxy_enable-debian $@; } #dns_set [chroot_dir] [domain] [nameserver] function dns_set-debian() { @@ -95,4 +95,4 @@ function dns_set-debian() { echo "done" } -function dns_set() { dns_set-debian $@ } +function dns_set() { dns_set-debian $@; } diff --git a/src/proj/desinfect.15 b/src/proj/desinfect.15 index 0bc0081..02302d7 100755 --- a/src/proj/desinfect.15 +++ b/src/proj/desinfect.15 @@ -26,7 +26,7 @@ function iso_create-desinfect.15() { iso_create-debian "$chroot_path" "$iso_extr_dir" "$iso_aim" "$iso_lable" } -function iso_create() { iso_create-desinfect.15 $@ } +function iso_create() { iso_create-desinfect.15 $@; } #chroot_initial-desinfect.15 [chroot_dir] function chroot_initial-desinfect.15() { @@ -50,7 +50,7 @@ function chroot_initial-desinfect.15() { echo "done" } -function iso_create() { iso_create-desinfect.15 $@ } +function iso_create() { iso_create-desinfect.15 $@; } #chroot_umount-desinfect.15 [chroot_dir] function chroot_umount-desinfect.15() { @@ -76,7 +76,7 @@ function chroot_umount-desinfect.15() { echo "done" } -function chroot_umount() { chroot_umount-desinfect.15 $@ } +function chroot_umount() { chroot_umount-desinfect.15 $@; } #proxy_enable-desinfect.15 [chroot_dir] [proxy_host] [proxy_port] function proxy_enable-desinfect.15() { @@ -108,7 +108,7 @@ function proxy_enable-desinfect.15() { echo "done" } -function proxy_enable() { proxy_enable-desinfect.15 $@ } +function proxy_enable() { proxy_enable-desinfect.15 $@; } #sourcelist_desinfect_set_nomal2015 [chroot_dir] function sourcelist_desinfect_set_nomal2015() { @@ -212,7 +212,7 @@ function os_update-desinfect.15() { echo "done" } -function os_update() { os_update-desinfect.15 $@ } +function os_update() { os_update-desinfect.15 $@; } #tools_add-desinfect.15 [chroot_dir] [tools_list] function tools_add-desinfect.15() { @@ -224,4 +224,4 @@ function tools_add-desinfect.15() { tools_add-debian "$chroot_dir" "$tools_list" sourcelist_desinfect_set_nomal2015 "$chroot_dir" } -function tools_add() { tools_add-desinfect.15 $@ } +function tools_add() { tools_add-desinfect.15 $@; } diff --git a/src/proj/desinfect.16 b/src/proj/desinfect.16 index 03e8d60..89e5d5a 100755 --- a/src/proj/desinfect.16 +++ b/src/proj/desinfect.16 @@ -28,7 +28,7 @@ function chroot_initial-desinfect.16() { echo "done" } -function chroot_initial() { chroot_initial-desinfect.16 $@ } +function chroot_initial() { chroot_initial-desinfect.16 $@; } #chroot_umount-desinfect.16 [chroot_dir] function chroot_umount-desinfect.16() { @@ -51,7 +51,7 @@ function chroot_umount-desinfect.16() { echo "done" } -function chroot_umount() { chroot_umount-desinfect.16 $@ } +function chroot_umount() { chroot_umount-desinfect.16 $@; } #proxy_enable-desinfect.16 [chroot_dir] [proxy_host] [proxy_port] function proxy_enable-desinfect.16() { @@ -95,7 +95,7 @@ function proxy_enable-desinfect.16() { echo "done" } -function proxy_enable() { proxy_enable-desinfect.16 $@ } +function proxy_enable() { proxy_enable-desinfect.16 $@; } #sourcelist_desinfect_set_nomal2016 [chroot_dir] function sourcelist_desinfect_set_nomal2016() { @@ -247,7 +247,7 @@ function os_update-desinfect.16() { echo "update virus definitions done" } -function os_update() { os_update-desinfect.16 $@ } +function os_update() { os_update-desinfect.16 $@; } #tools_add-desinfect.16 [chroot_dir] [tools_list] function tools_add-desinfect.16() { @@ -259,4 +259,4 @@ function tools_add-desinfect.16() { tools_add-debian "$chroot_dir" "$tools_list" sourcelist_desinfect_set_nomal2016 "$chroot_dir" } -function tools_add() { tools_add-desinfect.16 $@ } +function tools_add() { tools_add-desinfect.16 $@; } diff --git a/src/proj/desinfect.17 b/src/proj/desinfect.17 index e4085da..18c99f3 100755 --- a/src/proj/desinfect.17 +++ b/src/proj/desinfect.17 @@ -162,7 +162,7 @@ function os_update-desinfect.17() { echo "update virus definitions done" } -function os_update() { os_update-desinfect.17 $@ } +function os_update() { os_update-desinfect.17 $@; } #proxy_enable-desinfect.17 [chroot_dir] [proxy_host] [proxy_port] function proxy_enable-desinfect.17() { @@ -237,7 +237,7 @@ function proxy_enable-desinfect.17() { echo "done" } -function proxy_enable() { proxy_enable-desinfect.17 $@ } +function proxy_enable() { proxy_enable-desinfect.17 $@; } #tools_add-desinfect.17 [chroot_dir] [tools_list] function tools_add-desinfect.17() { @@ -249,4 +249,4 @@ function tools_add-desinfect.17() { tools_add-debian "$chroot_dir" "$tools_list" sourcelist_desinfect_set_nomal2017 "$chroot_dir" } -function tools_add() { tools_add-desinfect.17 $@ } +function tools_add() { tools_add-desinfect.17 $@; }