tunable: add int variable

This commit is contained in:
Alexandre Pujol 2025-02-14 19:16:25 +01:00
parent 226ab5f050
commit d7a73847de
Failed to generate hash of commit
2 changed files with 18 additions and 0 deletions

View file

@ -17,6 +17,7 @@ include <tunables/multiarch>
include <tunables/proc> include <tunables/proc>
include <tunables/alias> include <tunables/alias>
include <tunables/kernelvars> include <tunables/kernelvars>
include <tunables/system>
include <tunables/xdg-user-dirs> include <tunables/xdg-user-dirs>
include <tunables/share> include <tunables/share>
include <tunables/etc> include <tunables/etc>

View file

@ -0,0 +1,17 @@
# ------------------------------------------------------------------
#
# Copyright (C) 2025 Alexandre Pujol <alexandre@pujol.io>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License published by the Free Software Foundation.
#
# ------------------------------------------------------------------
# Any digit
@{d}=[0-9]
# Integer up to 10 digits (0-9999999999)
@{int}=@{d}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},}{@{d},}
include if exists <tunables/system.d>