From f8093430150bc1c15f38ae3b77e3cede52f6d592 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Fri, 1 Jun 2018 01:56:41 +0200 Subject: [PATCH 1/2] report corect meaning --- src/func/check_update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/func/check_update b/src/func/check_update index 79d6d99..b8b11fd 100755 --- a/src/func/check_update +++ b/src/func/check_update @@ -7,7 +7,7 @@ function check_update() { if curl https://raw.githubusercontent.com/6543/remaster/master/changes/remaster.md | diff - <(zcat /usr/share/doc/remaster/changelog.gz ); then echo 'INFO: Programm Aktuell' else - echo 'WARNUNG: neue Version verfügbar' + echo 'WARNUNG: Ausgeführte Version entspricht nicht dem offiziellen Release' fi } From 18b42628a0028693b47498a0d0b30798e7fe72b0 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sat, 2 Jun 2018 22:49:54 +0200 Subject: [PATCH 2/2] restruct config --- src/config.sample.cfg | 47 +++++++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 22 deletions(-) diff --git a/src/config.sample.cfg b/src/config.sample.cfg index 30cbfbb..d7d44ce 100644 --- a/src/config.sample.cfg +++ b/src/config.sample.cfg @@ -1,36 +1,39 @@ -#cfg ######################################################### ## sample-config rename it to config.cfg after changes ## ######################################################### -#CD/DVD -#entweder iso_source oder squashfs_path alls quelle -# -> bei iso gen erforderlich! -iso_source="/data/remaster/desinfect-2017.iso" -#destination optinal -iso_aim="/data/remaster/result/custom_desinfect_`date '+%Y-%m-%d'`.iso" +## Quelle der Project CD/DVD +iso_source="/data/local/Desinfect_Remaster/tmp/desinfect-2017.iso" + +## Pfad zum gepakten Live System +## (kann anstat einer ISO auch als Quelle dienen, dann aber auch zwingend als Ziel) +# squashfs_path="/data/local/Desinfect_Remaster/tmp/filesystem.squashfs" + +## Ziel, Lable der zu erstellenden CD/DVD +iso_aim="/data/local/Desinfect_Remaster/tmp/custom_desinfect_`date '+%Y-%m-%d'`.iso" iso_lable="DESINFECT_`date '+%Y-%m-%d'`" -#Filesystem (for pxe) -#entweder iso_source oder squashfs_path alls quelle -squashfs_path="/data/remaster/result/filesystem.squashfs" -#Network -proxy_host="proxy.local" -proxy_port="8080" -domain="local" -nameserver="10.x.x.2,10.x.x.1" +## Netzwerk Sinstellungen +## Proxy: +# proxy_host="10.40.8.108" +# proxy_port="8080" +domain="fritz.box" +nameserver="10.40.255.254" -#remaster_script +## Project / Distro +## Aktuell unterstützt: debian; ubuntu; ubuntu.14.04; ubuntu.16.04; desinfect.17 project="desinfect.17" -#LOG -log_file="/data/remaster/logs/`date '+%Y-%m-%d'`.log" -log_mail_source="desinfect@email.clocal" -log_mail_smtp="smtp.mail.local:25" -log_mail_aim="6543@email.clocal" -log_mail_subject="Desinfect_Remaster" +## LOG Einstellungen +## log_file ist optionall +log_file="/data/local/Desinfect_Remaster/tmp/logs/`date '+%Y-%m-%d'`.log" +## Senden mit sendmail einen Report +# log_mail_source="desinfect@email.clocal" +# log_mail_smtp="smtp.mail.local:25" +# log_mail_aim="6543@email.clocal" +# log_mail_subject="Desinfect_Remaster" #Sonstiges tools_list="xrdp clamav nano htop nmon iftop tmux dsniff nmap openssh-server tightvncserver rsync e2fsprogs foremost gddrescue recoverjpeg safecopy sleuthkit testdisk arp-scan"