summaryrefslogtreecommitdiff
path: root/configs/releng/root-image/etc/rc.d/pacman-init
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-10-03 10:52:13 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-10-03 10:52:13 -0300
commitd5e1363cbb2409be82ec53cdf428ab752a4e2c79 (patch)
tree8d8b29f4fe8552f7cf5ef35d148177f2d749cb64 /configs/releng/root-image/etc/rc.d/pacman-init
parent56b1e931bc27def5d0a3b51a6282653389fac732 (diff)
downloadarchiso32-d5e1363cbb2409be82ec53cdf428ab752a4e2c79.tar.xz
[configs/releng] Remove files for sysvinit and initscripts
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'configs/releng/root-image/etc/rc.d/pacman-init')
-rwxr-xr-xconfigs/releng/root-image/etc/rc.d/pacman-init34
1 files changed, 0 insertions, 34 deletions
diff --git a/configs/releng/root-image/etc/rc.d/pacman-init b/configs/releng/root-image/etc/rc.d/pacman-init
deleted file mode 100755
index bbbd719..0000000
--- a/configs/releng/root-image/etc/rc.d/pacman-init
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy "Initializing pacman keyring"
- if { pacman-key --init && pacman-key --populate archlinux; } &>/dev/null; then
- add_daemon pacman-init
- stat_done
- else
- stat_fail
- exit 1
- fi
- ;;
-
- stop)
- stat_busy "Removing pacman keyring"
- rm -rf /etc/pacman.d/gnupg
- rm_daemon pacman-init
- stat_done
- ;;
-
- restart)
- $0 stop
- $0 start
- ;;
-
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-
-exit 0