From 8daa83a594a2e98f39d764422bfbdbc62c9efd44 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 19:20:00 +0200 Subject: Adding upstream version 2:4.20.0+dfsg. Signed-off-by: Daniel Baumann --- docs-xml/smbdotconf/misc/postexec.xml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 docs-xml/smbdotconf/misc/postexec.xml (limited to 'docs-xml/smbdotconf/misc/postexec.xml') diff --git a/docs-xml/smbdotconf/misc/postexec.xml b/docs-xml/smbdotconf/misc/postexec.xml new file mode 100644 index 0000000..ca15221 --- /dev/null +++ b/docs-xml/smbdotconf/misc/postexec.xml @@ -0,0 +1,21 @@ + + + This option specifies a command to be run + whenever the service is disconnected. It takes the usual + substitutions. The command may be run as the root on some + systems. + + An interesting example may be to unmount server + resources: + +postexec = /etc/umount /cdrom + +preexec + + +echo \"%u disconnected from %S from %m (%I)\" >> /tmp/log + -- cgit v1.2.3