management_scripts/post_init.sh
changeset 26 7ee697669fb9
parent 17 980ca72ff1f1
child 27 a8c8d86b8501
     1.1 --- a/management_scripts/post_init.sh	Mon Aug 18 16:08:34 2014 +0200
     1.2 +++ b/management_scripts/post_init.sh	Tue Nov 04 14:21:53 2014 +0100
     1.3 @@ -1,4 +1,6 @@
     1.4  #!/bin/sh
     1.5  
     1.6 -mkdir /var/run/usbmount/encrypted
     1.7 -/usr/bin/osecfs /etc/osecfs/osecfs_usb.cfg "/var/run/usbmount/encrypted" rw
     1.8 \ No newline at end of file
     1.9 +chattr -i "/tmp/usbmount"
    1.10 +mkdir /tmp/usbmount/encrypted
    1.11 +chattr +i "/tmp/usbmount"
    1.12 +/usr/bin/osecfs /etc/osecfs/osecfs_usb.cfg "/tmp/usbmount/encrypted" rw
    1.13 \ No newline at end of file