summaryrefslogtreecommitdiffstats
path: root/abs/extra/samba/samba.install
blob: 9562d78c0ea8bf45db994408dcbd43a2b1dae333 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

post_upgrade() {
  if [ "$(vercmp $2 4.0.4)" -lt 0 ]; then
    echo "Major upgrade from samba 3.x to 4.x,"
    echo "please read the Samba4 migration guide:"
    echo "http://wiki.samba.org/index.php/Samba4/samba3upgrade/HOWTO"
  fi
  systemconfig.py -m fileshare
}
# vim:set ts=2 sw=2 et: