Skip to content

Commit

Permalink
Do not follow existing cdrom0 symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lange committed Mar 2, 2015
1 parent 8dab51a commit e7ce074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/simple/scripts/FAIBASE/20-removable_media
Expand Up @@ -20,7 +20,7 @@ fstabline () {

i=0
for cdrom in $(cdromlist | tac); do
[ $i -eq 0 ] && ln -s cdrom0 $target/media/cdrom
[ $i -eq 0 ] && ln -sfn cdrom0 $target/media/cdrom
mkdir -p $target/media/cdrom$i
fstabline /dev/$cdrom /media/cdrom$i udf,iso9660 ro,user,noauto 0 0
i=$(($i + 1))
Expand Down

0 comments on commit e7ce074

Please sign in to comment.