File manager - Edit - /var/lib/dpkg/info/samba-common-bin.postinst
Back
#!/bin/sh set -e # ensure a (tmpfs-based) /run/samba exists before running testparm [ -d /run/samba ] || mkdir -p /run/samba if [ "$1" = "configure" ] ; then SERVER_ROLE=`samba-tool testparm --parameter-name="server role" 2>/dev/null | tail -1` if [ "$SERVER_ROLE" = "active directory domain controller" ]; then echo "Checking smb.conf with samba-tool" samba-tool testparm -d1 --suppress-prompt > /dev/null echo "Done" else echo "Checking smb.conf with testparm" testparm -d1 --suppress-prompt > /dev/null echo "Done" fi fi # Automatically added by dh_installtmpfiles/13.3.4 if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then # In case this system is running systemd, we need to ensure that all # necessary tmpfiles (if any) are created before starting. if [ -d /run/systemd/system ] ; then systemd-tmpfiles --create samba.conf >/dev/null || true fi fi # End automatically added section
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.49 |
proxy
|
phpinfo
|
Settings