sd
This commit is contained in:
parent
5e0d9d2013
commit
67932fd5ac
@ -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