summaryrefslogtreecommitdiff
path: root/kernels/pax-flags-libre/pax-flags-libre.sh
blob: 97b45cc877da7e36f7b16d0263d3d673f09afabe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

ruby=$(which ruby)

[ -z $PAX_FLAGS_SUDO ] && sudo='' || sudo='sudo'

[ "$(paxctl -v $ruby 2>/dev/null)" ] || {
	$sudo paxctl -cm $ruby
}

$sudo systemctl --system daemon-reload

$sudo pax-flags-libre.rb $@