diff options
author | daviddavid <geiger.david68210@gmail.com> | 2024-05-09 09:05:14 +0200 |
---|---|---|
committer | daviddavid <geiger.david68210@gmail.com> | 2024-05-09 09:05:14 +0200 |
commit | 6f8ab1f632dd44a7c1d677f3ec966e40a866086b (patch) | |
tree | 3acd29c5dddaaddd1666deff8285b60cd7d39976 /src | |
parent | 6037e00ac231ec297a9ad0aacd46f3c6415bc759 (diff) | |
download | msec-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-x | src/msec/msec | 2 | ||||
-rwxr-xr-x | src/msec/msecperms | 2 | ||||
-rwxr-xr-x | src/msec/plugins/msec.py | 2 |
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' |