Ignore:
Timestamp:
May 23, 2017, 10:19:42 AM (3 years ago)
Author:
hectorgh
Message:

adding no_root_squash

File:
1 edited

Legend:

Unmodified
Added
Removed
  • n4d-nfs/trunk/fuentes/debian/postinst

    r1116 r4867  
    2424
    2525        n4d-modules enable-plugin /etc/n4d/conf.d/NfsManager || true
     26
     27        if dpkg --compare-versions "$2" lt 0.4; then
     28
     29                if [ -e "/net/exports/net.exports" ]; then
     30                       
     31                        python -c "import imp;imp.load_source('NfsManager','/usr/share/n4d/python-plugins/NfsManager.py').NfsManager().fix_missing_no_root_squash()"
     32
     33                fi
     34
     35
     36        fi
     37
     38
    2639        ;;
    2740
Note: See TracChangeset for help on using the changeset viewer.