Rename all directories

This commit is contained in:
remittor
2025-12-28 20:15:29 +03:00
parent dd35b5d50a
commit c11ca1ca2e
31 changed files with 0 additions and 0 deletions

15
zapret2/script-exec.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/sh
# Copyright (c) 2024 remittor
LOG_FILE=$1
RC_FILE=$1.rc
shift 1
: > $LOG_FILE
: > $RC_FILE
(
exec </dev/null >/dev/null 2>&1
"$@" >> $LOG_FILE 2>&1
RETCODE=$?
sleep 1
echo $RETCODE > $RC_FILE
) &
exit 0