initial commit of file from CVS for e-smith-base on Thu 26 Oct 11:24:52 BST 2023
This commit is contained in:
14
root/etc/e-smith/events/actions/create-mnt-floppy
Normal file
14
root/etc/e-smith/events/actions/create-mnt-floppy
Normal file
@@ -0,0 +1,14 @@
|
||||
#! /bin/sh
|
||||
# Try to make sure that /mnt/floppy can be mounted
|
||||
|
||||
# If the system has been upgraded, there should be an old mount directory
|
||||
if [ -d /mnt/floppy ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Create /mnt if required
|
||||
mkdir -p /mnt
|
||||
|
||||
# Let's assume that haldaemon will create /media/floppy
|
||||
ln -sf /media/floppy /mnt/floppy
|
Reference in New Issue
Block a user