manjaro-fix

This commit is contained in:
simono41 2018-05-27 00:39:24 +02:00
parent 0cc9c926c6
commit e10a272852
2 changed files with 6 additions and 1 deletions

View file

@ -163,6 +163,11 @@ function cron() {
cp /opt/${repo}/snapshot.sh ${mountpoint}/usr/bin/snapshot cp /opt/${repo}/snapshot.sh ${mountpoint}/usr/bin/snapshot
chmod 755 ${mountpoint}/usr/bin/snapshot chmod 755 ${mountpoint}/usr/bin/snapshot
fi fi
if [ "${version}" == "manjaro" ]; then
echo "0 * * * * /usr/bin/update-bootloader" >> ${mountpoint}/var/spool/cron/root
fi
} }
function makeswapfile() { function makeswapfile() {

View file

@ -4,7 +4,7 @@ build() {
add_module "cdrom" add_module "cdrom"
add_module "loop" add_module "loop"
add_module "dm-snapshot" add_module "dm-snapshot"
add_module "overlay" # add_module "overlay"
add_runscript add_runscript