mirror of
https://github.com/nchevsky/systemrescue-zfs.git
synced 2026-03-02 11:13:47 +01:00
Fix to remove warning during boot when there are no autorun scripts
This commit is contained in:
parent
551f3270a2
commit
e9d0356b8c
|
|
@ -6,7 +6,7 @@ index 3eb7ac7..e4585af 100644
|
|||
|
||||
_mnt_sfs "/run/archiso/bootmnt/${archisobasedir}/${arch}/airootfs.sfs" "/run/archiso/sfs/airootfs"
|
||||
|
||||
+ if [[ "${copytoram}" == "y" ]] && ls -lh /run/archiso/bootmnt/autorun* >/dev/null; then
|
||||
+ if [[ "${copytoram}" == "y" ]] && ls -lh /run/archiso/bootmnt/autorun* >/dev/null 2>/dev/null; then
|
||||
+ msg -n ":: Copying autorun scripts to RAM..."
|
||||
+ if ! cp /run/archiso/bootmnt/autorun* /run/archiso/copytoram/ ; then
|
||||
+ echo "ERROR: while copy '/run/archiso/bootmnt/autorun*' to '/run/archiso/copytoram/'"
|
||||
|
|
|
|||
Loading…
Reference in a new issue