mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
output
This commit is contained in:
parent
4388fc4d5a
commit
1018d5b3b0
@ -19,15 +19,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: INFO: file /etc/remount-disable exists. Doing nothing."
|
echo "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: INFO: Will remount with noexec because file /etc/noexec exists."
|
echo "INFO: Will remount with noexec because file /etc/noexec exists."
|
||||||
else
|
else
|
||||||
echo "$0: INFO: Will not remount with noexec because file /etc/noexec does not exist."
|
echo "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…
Reference in New Issue
Block a user