first commit

This commit is contained in:
2026-01-31 01:03:40 +01:00
commit 8ffeb37bd4
31 changed files with 1022 additions and 0 deletions

23
data/rc/gnupg-mount.in Executable file
View File

@@ -0,0 +1,23 @@
#!/usr/bin/openrc-run
# Copyright 2015 artoo (flower_of_life@gmx.net)
# Distributed under the terms of the GNU General Public License v2
target_dir=/etc/pacman.d/gnupg
description="Temporary ${target_dir} directory"
depend() {
before pacman-init
}
start() {
ebegin "Mounting temporary gnupg directory"
[[ ! -d ${target_dir} ]] && mkdir -p ${target_dir}
mount -t tmpfs -o size=10M,mode=0755 tmpfs ${target_dir}
eend $?
}
stop(){
ebegin "Unmounting temporary gnupg directory"
umount -l ${target_dir}
eend $?
}

16
data/rc/manjaro-live.in Executable file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/openrc-run
# Copyright 2014 Aaditya Bagga (aaditya_gnulinux@zoho.com)
# Distributed under the terms of the GNU General Public License v2
description="LiveMedia Config Script"
depend() {
need localmount
}
start() {
ebegin "Starting manjaro live script"
# run the manjaro live script
/usr/bin/manjaro-live
eend $?
}

16
data/rc/mhwd-live-net.in Executable file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/openrc-run
# Copyright 2014 Aaditya Bagga (aaditya_gnulinux@zoho.com)
# Distributed under the terms of the GNU General Public License v2
depend() {
need manjaro-live
before xdm
after pacman-init
}
start() {
ebegin "Running mhwd-live script"
# run the mhwd script
/usr/bin/mhwd-live-net &> /dev/null
eend $?
}

18
data/rc/mhwd-live.in Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/openrc-run
# Copyright 2014 Aaditya Bagga (aaditya_gnulinux@zoho.com)
# Distributed under the terms of the GNU General Public License v2
#description="Manjaro livecd mhwd-live script"
depend() {
need manjaro-live
before xdm
after pacman-init
}
start() {
ebegin "Running mhwd-live script"
# run the mhwd script
/usr/bin/mhwd-live &> /dev/null
eend $?
}

View File

@@ -0,0 +1,15 @@
#!/usr/bin/openrc-run
# Copyright 2016 artoo (artoo@manjaro.org)
# Distributed under the terms of the GNU General Public License v2
description="Pacman mirror ranking"
depend() {
need net
}
start() {
ebegin "Running mirrors ranking"
/usr/bin/pacman-mirrors -f 5
eend $?
}

15
data/rc/mirrors-live.in Normal file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/openrc-run
# Copyright 2016 artoo (artoo@manjaro.org)
# Distributed under the terms of the GNU General Public License v2
description="Pacman mirror ranking"
depend() {
need net
}
start() {
ebegin "Running mirrors randomizer"
/usr/bin/pacman-mirrors -f 5
eend $?
}

17
data/rc/pacman-init.in Executable file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/openrc-run
# Copyright 2014 Aaditya Bagga (aaditya_gnulinux@zoho.com)
# Distributed under the terms of the GNU General Public License v2
description="Pacman initialization script"
depend() {
use net
need haveged gnupg-mount
}
start() {
ebegin "Running pacman initialization"
/usr/bin/pacman-key --init &> /dev/null
/usr/bin/pacman-key --populate archlinux manjaro &> /dev/null
eend $?
}