X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=postinst-setup-ostree;h=b05a19838072ac6161b89e4530fe4ca7d261e12a;hp=afb1422e30c665ddcfe6a5aead5c32c74acda459;hb=5c1cbc7fb8bc397e0de2da90fd63677d4d464f12;hpb=decfc2bbaeeb2dabbba08f7acef6392ca2cb3eda diff --git a/postinst-setup-ostree b/postinst-setup-ostree index afb1422..b05a198 100755 --- a/postinst-setup-ostree +++ b/postinst-setup-ostree @@ -1,18 +1,7 @@ #!/bin/sh set -ex -# create user -if ! grep -q ^mock: /etc/group; then - getent group mock | sed 's/$/martin/' >> /etc/group -fi - -# copy back NM connections and fix SELinux context +# copy NM connections and fix SELinux context cp /home/martin/archiv/system-config/* /etc/ chcon -R -t NetworkManager_etc_t -u system_u /etc/NetworkManager chcon -R -t NetworkManager_etc_rw_t -u system_u /etc/NetworkManager/NetworkManager.conf /etc/NetworkManager/system-connections - -# crontabs -crontab -u martin - </dev/null -EOF