aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authordaviddavid <geiger.david68210@gmail.com>2024-05-09 09:05:14 +0200
committerdaviddavid <geiger.david68210@gmail.com>2024-05-09 09:05:14 +0200
commit6f8ab1f632dd44a7c1d677f3ec966e40a866086b (patch)
tree3acd29c5dddaaddd1666deff8285b60cd7d39976 /src
parent6037e00ac231ec297a9ad0aacd46f3c6415bc759 (diff)
downloadmsec-6f8ab1f632dd44a7c1d677f3ec966e40a866086b.tar
msec-6f8ab1f632dd44a7c1d677f3ec966e40a866086b.tar.gz
msec-6f8ab1f632dd44a7c1d677f3ec966e40a866086b.tar.bz2
msec-6f8ab1f632dd44a7c1d677f3ec966e40a866086b.tar.xz
msec-6f8ab1f632dd44a7c1d677f3ec966e40a866086b.zip
replace temporary dir from /var/run to /run
Diffstat (limited to 'src')
-rwxr-xr-xsrc/msec/msec2
-rwxr-xr-xsrc/msec/msecperms2
-rwxr-xr-xsrc/msec/plugins/msec.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/msec/msec b/src/msec/msec
index 83f22e4..a9a2367 100755
--- a/src/msec/msec
+++ b/src/msec/msec
@@ -8,7 +8,7 @@ if [ "`whoami`" != "root" ]; then
exit 1
fi
-LCK=/var/run/msec.pid
+LCK=/run/msec.pid
function cleanup() {
rm -f $LCK
diff --git a/src/msec/msecperms b/src/msec/msecperms
index ab80b74..2b27163 100755
--- a/src/msec/msecperms
+++ b/src/msec/msecperms
@@ -8,7 +8,7 @@ if [ "`whoami`" != "root" ]; then
exit 1
fi
-LCK=/var/run/msec.pid
+LCK=/run/msec.pid
function cleanup() {
rm -f $LCK
diff --git a/src/msec/plugins/msec.py b/src/msec/plugins/msec.py
index 5b18f62..b7d862f 100755
--- a/src/msec/plugins/msec.py
+++ b/src/msec/plugins/msec.py
@@ -34,7 +34,7 @@ CRONALLOW = '/etc/cron.allow'
FSTAB = '/etc/fstab'
GDM = '/etc/pam.d/gdm'
GDMCONF = '/etc/X11/gdm/custom.conf'
-GDM230 = '/var/run/gdm'
+GDM230 = '/run/gdm'
HALT = '/usr/bin/halt'
HOSTCONF = '/etc/host.conf'
HOSTSDENY = '/etc/hosts.deny'