mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-27 13:19:27 -05:00
output
This commit is contained in:
parent
8a592c2e37
commit
52fa7db087
@ -14,23 +14,23 @@ remount_hook() {
|
|||||||
|
|
||||||
if [ "$remountsecure_action" = "1" ]; then
|
if [ "$remountsecure_action" = "1" ]; then
|
||||||
if ! remount-secure; then
|
if ! remount-secure; then
|
||||||
warn "'remount-secure' failed."
|
warn "$0: ERROR: 'remount-secure' failed."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
info "'remount-secure' success."
|
info "$0: INFO: 'remount-secure' success."
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$remountsecure_action" = "noexec" ]; then
|
if [ "$remountsecure_action" = "noexec" ]; then
|
||||||
if ! remount-secure --remountnoexec; then
|
if ! remount-secure --remountnoexec; then
|
||||||
warn "'remount-secure --remountnoexec' failed."
|
warn "$0: ERROR: 'remount-secure --remountnoexec' failed."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
info "'remount-secure --remountnoexec' success."
|
info "$0: INFO: 'remount-secure --remountnoexec' success."
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
warn "Not using remount-secure."
|
warn "$0: WARNING: Not using remount-secure."
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user