This parameter only exists in the HEAD cvs branch
This a full path name to a script called by smbd
8 that should start a shutdown procedure.
This command will be run as the user connected to the server.
%m %t %r %f parameters are expanded:
%m will be substituted with the
shutdown message sent to the server.
%t will be substituted with the
number of seconds to wait before effectively starting the
shutdown procedure.
%r will be substituted with the
switch -r. It means reboot after shutdown
for NT.
%f will be substituted with the
switch -f. It means force the shutdown
even if applications do not respond for NT.
Shutdown script example:
#!/bin/bash
$time=0
let "time/60"
let "time++"
/sbin/shutdown $3 $4 +$time $1 &
Shutdown does not return so we need to launch it in background.
abort shutdown script
/usr/local/samba/sbin/shutdown %m %t %r %f