ports/main/nnd-s6-services/rc/sys.kernel-mm-transparent_h.../down

14 lines
226 B
Plaintext

#!/bin/execlineb -P
s6-envdir -i /etc/s6/env/path
importas -i PATH PATH
emptyenv
export PATH $PATH
define FPATH /sys/kernel/mm/transparent_hugepage/enabled
define VAL never
fdclose 1
fdclose 2
redirfd -w 1 $FPATH echo $VAL