aboutsummaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-11-06 19:13:43 -0500
committerDave Reisner <dreisner@archlinux.org>2011-11-06 19:15:52 -0500
commitec9ec4ad367f494165ced611af6b2641e8cb2472 (patch)
treec282490743d12406421003c352a060a15d7e5605 /PKGBUILD
parentfe1695420fab1476dec28d70b91282c9b30d161e (diff)
downloadinitscripts-ec9ec4ad367f494165ced611af6b2641e8cb2472.tar.xz
functions: implement a environment file parser
This adds a 'parse_envfile' function that reads files such as /etc/locale.conf and /etc/vconsole.conf without sourcing them as bash logic. Several benefits are realized from this: - Impossible to execute arbitrary code - Bad syntax won't prevent the entire file from being read - Possible to limit what variables are allowed Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'PKGBUILD')
0 files changed, 0 insertions, 0 deletions