summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-02-13 23:47:48 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-02-13 23:47:48 +0100
commit01d1a73608551e2f54d5f3a7b0f80ea4210b2133 (patch)
treea0e62c0b1fed67fb641a09b5cfe818aee2700e1a /tools
parent2fa37c00197b42c3c6f1bc2f26d50a661ae97927 (diff)
feat: Configuration additions and configuration improvements. (tooling).
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/libconf.pl18
1 files changed, 18 insertions, 0 deletions
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