mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-19 07:23:03 +02:00
sysctl: add seperate sysctl-x86_64.conf and move x86_64 only parameters
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -24,6 +24,18 @@ case "${1}" in
|
||||
sysctl -q -p
|
||||
evaluate_retval
|
||||
fi
|
||||
arch=`uname -m`
|
||||
case "${arch}" in
|
||||
i?86 ) arch="i586";
|
||||
;;
|
||||
armv*) arch="armv5tel":
|
||||
;;
|
||||
esac
|
||||
if [ -f "/etc/sysctl-${arch}.conf" ]; then
|
||||
boot_mesg "Setting ${arch}-kernel runtime parameters..."
|
||||
sysctl -q -p /etc/sysctl-${arch}.conf
|
||||
evaluate_retval
|
||||
fi
|
||||
;;
|
||||
|
||||
status)
|
||||
|
||||
Reference in New Issue
Block a user