From: xf0r3m Date: Sat, 25 Apr 2026 10:19:31 +0000 (+0200) Subject: Poprawienie błedów w pliku bazowym oraz w skryptcie immudex-install. X-Git-Url: https://gitweb.morketsmerke.org/?a=commitdiff_plain;h=b067434f8643363c187ae2e3ebe7c0fbacb46b20;p=immudex.git Poprawienie błedów w pliku bazowym oraz w skryptcie immudex-install. --- diff --git a/tools/sbin/immudex-install b/tools/sbin/immudex-install index f89411d..0c5c636 100755 --- a/tools/sbin/immudex-install +++ b/tools/sbin/immudex-install @@ -49,7 +49,7 @@ if [ "$1" ]; then help; elif [ "$1" = "--version" ]; then version; - elif $(echo $1 | grep -q "--partition-size"); then + elif $(echo $1 | grep -q 'partition-size'); then idxPartSize=$(echo $1 | cut -d "=" -f2); else idxPartSize="3G"; diff --git a/versions/base.sh b/versions/base.sh index 2d390ed..df32e2a 100644 --- a/versions/base.sh +++ b/versions/base.sh @@ -67,7 +67,7 @@ chown root:root /usr/local/sbin/*; chmod 544 /usr/local/sbin/*; mkdir /usr/share/doc/immudex-motd; -cp -vv ~/immudex/tools/misc/motd.conf /usr/share/doc/immudex-motd/motd.conf; +cp -vv ~/immudex/tools/misc/motd.conf /usr/share/doc/immudex-motd/motd.conf.sample; cp -vv ~/immudex/tools/misc/immudex-hostname.service /etc/systemd/system; systemctl enable immudex-hostname.service;