From 01d1a73608551e2f54d5f3a7b0f80ea4210b2133 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 13 Feb 2026 23:47:48 +0100 Subject: feat: Configuration additions and configuration improvements. (tooling). Signed-off-by: Amlal El Mahrouss --- tools/libconf.pl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tools/libconf.pl (limited to 'tools/libconf.pl') diff --git a/tools/libconf.pl b/tools/libconf.pl new file mode 100644 index 0000000..1a1bc7e --- /dev/null +++ b/tools/libconf.pl @@ -0,0 +1,18 @@ +#!/usr/bin/perl -w + +package libconf; + +use strict; +use Cwd; + +sub new() { + + if ($ENV{USER} ne "root") { + die "You must be root to run this script.\n"; + } + + system("sh", "git", "submodule", "update", "--init", "--recursive") or die "Git error: $!"; + +} + +"libconf"; \ No newline at end of file -- cgit v1.2.3