manjaro-fix
This commit is contained in:
parent
0cc9c926c6
commit
e10a272852
2 changed files with 6 additions and 1 deletions
|
@ -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() {
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue