mrclksr / linux-browser-installer

Script to install Linux browsers under a Linux chroot on FreeBSD
165 stars 25 forks source link

Delete links in /etc/fstab #24

Open yeti01 opened 1 year ago

yeti01 commented 1 year ago

If you run ./linux-browser-installer chroot delete, corresponding links in /etc/fstab should be deleted, too.

mrclksr commented 1 year ago

Hi Ulrich,

linux-browser-installer does not modify /etc/fstab. All required filesystems are mounted via /etc/rc.d/ubuntu.

yeti01 commented 1 year ago

Hi and thanks for the response.

A problem occurs if you delete chroot by your script when links to chroot are still in fstab. You are not able to reboot again because the folder does not exist anymore.

So my idea is to delete links to chroot in fstab when deleting chroot.