sd
This commit is contained in:
parent
dcc0174130
commit
4f97998047
@ -320,7 +320,7 @@ snapshots() {
|
||||
TEMPLATE="/efi/loader/entries/$MACHINE_ID-$KERNEL_VERSION.conf"
|
||||
LOADER_FILE="/efi/loader/entries/snapshot-$MACHINE_ID-$KERNEL_VERSION.conf"
|
||||
cp -f $TEMPLATE $LOADER_FILE
|
||||
sed -i "s/${ROOT_NAME}/.snapshots\/snapshot-root-${DATE}/" $LOADER_FILE
|
||||
sed -i "s/@${ROOT_NAME}/.snapshots\/snapshot-root-${DATE}/" $LOADER_FILE
|
||||
}
|
||||
|
||||
remove-snapshots() {
|
||||
|
Loading…
Reference in New Issue
Block a user