Commit eb95a355 authored by Ramon Buldó's avatar Ramon Buldó

Remove pacman-boot, it may slow boots times considerably.

parent 6d4611e6
manjaro-tools-livecd
====================
manjaro-tools-livecd
Cli installer Manjaro
System services for Manjaro's livecd
#!/usr/bin/openrc-run
# Distributed under the terms of the GNU General Public License v2
description="Pacman sync script"
depend() {
need pacman-init net
}
start() {
ebegin "Sync pacman"
/usr/bin/pacman-boot &> /dev/null
eend $?
}
#!/bin/bash
NETWORK_ALIVE=`ping -c1 google.com 2>&1 | grep unknown`
while [[ -n "$NETWORK_ALIVE" ]];do
NETWORK_ALIVE=`ping -c1 google.com 2>&1 | grep unknown`
sleep 10
done
if [[ -z $NETWORK_ALIVE ]];then
pacman-mirrors -g
pacman -Syy
fi
#!/bin/bash
NETWORK_ALIVE=`ping -c1 google.com 2>&1 | grep unknown`
while [[ -n "$NETWORK_ALIVE" ]];do
NETWORK_ALIVE=`ping -c1 google.com 2>&1 | grep unknown`
sleep 10
done
if [[ -z $NETWORK_ALIVE ]];then
pacman-mirrors -g
pacman -Syy
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment