Skip to content

Commit

Permalink
dom0 : eve script rm config file with -f option
Browse files Browse the repository at this point in the history
remove remote_access_disabled with -f option to avoid printing out
warnings about missing file.

Signed-off-by: Shahriyar Jalayeri <shahriyar@zededa.com>
  • Loading branch information
shjala committed Oct 10, 2023
1 parent 1198ead commit 09bd75c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/dom0-ztools/rootfs/bin/eve
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ __EOT__
mkdir $CONFIGDIR_RW
if mount -t vfat -o rw,iocharset=iso8859-1 "$CONFIG" $CONFIGDIR_RW; then
case "$2" in
on) rm $CONFIGDIR_RW/remote_access_disabled
on) rm -f $CONFIGDIR_RW/remote_access_disabled
umount $CONFIGDIR_RW
rm -rf $CONFIGDIR_RW
;;
Expand Down

0 comments on commit 09bd75c

Please sign in to comment.