mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-10 15:17:57 +07: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
|
||||
|
||||
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
|
||||
fi
|
||||
|
||||
if [ -e /etc/noexec ] || [ -e /usr/local/etc/noexec ]; then
|
||||
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
|
||||
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
|
||||
|
||||
mkdir --parents "/var/run/remount-secure"
|
||||
|
Loading…
Reference in New Issue
Block a user