mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-29 01:07:15 -05:00
output
This commit is contained in:
parent
e6ea21c775
commit
e7fd0dadb0
@ -18,15 +18,15 @@ if [ -f /usr/lib/helper-scripts/pre.bsh ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -e /etc/remount-disable ] || [ -e /usr/local/etc/remount-disable ]; then
|
if [ -e /etc/remount-disable ] || [ -e /usr/local/etc/remount-disable ]; then
|
||||||
echo "$0: file /etc/remount-disable exists. Doing nothing."
|
echo "$0: INFO: file /etc/remount-disable exists. Doing nothing."
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -e /etc/noexec ] || [ -e /usr/local/etc/noexec ]; then
|
if [ -e /etc/noexec ] || [ -e /usr/local/etc/noexec ]; then
|
||||||
noexec=true
|
noexec=true
|
||||||
echo "$0: Will remount with noexec because file /etc/noexec exists."
|
echo "$0: INFO: Will remount with noexec because file /etc/noexec exists."
|
||||||
else
|
else
|
||||||
echo "$0: Will not remount with noexec because file /etc/noexec does not exist."
|
echo "$0: INFO: Will not remount with noexec because file /etc/noexec does not exist."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir --parents "/var/run/remount-secure"
|
mkdir --parents "/var/run/remount-secure"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user