aboutsummaryrefslogtreecommitdiffstats
path: root/initcpio/install/pacredir
diff options
context:
space:
mode:
Diffstat (limited to 'initcpio/install/pacredir')
-rw-r--r--initcpio/install/pacredir11
1 files changed, 11 insertions, 0 deletions
diff --git a/initcpio/install/pacredir b/initcpio/install/pacredir
new file mode 100644
index 0000000..f9663af
--- /dev/null
+++ b/initcpio/install/pacredir
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+build() {
+ add_runscript
+}
+
+help() {
+ echo 'This hook adds servers to pacredir.conf from inside initramfs.'
+ echo 'Useless for installed systems, but can be handy with'
+ echo 'no-persistent configurations.'
+}