Ignore:
Timestamp:
06/16/17 15:10:25 (8 years ago)
Author:
Edwin Eefting <edwin@datux.nl>
Branches:
gcc484, master, perl-5.22
Children:
68dd3db
Parents:
2fd27f0
Message:

fix symlink issue in sambaconfig after upgrading. updated samba to 4.4.14

File:
1 edited

Legend:

Unmodified
Added
Removed
  • npl/fileserver/samba_conf/root/etc/postinst.d/post.samba

    r2fd27f0 r6f166c4  
    11#!/bin/sh
    22
    3 ln -s /home/system/samba /etc/samba 2>/dev/null
    4 ln -s /home/system/cups /etc/cups 2>/dev/null
     3#replace by symlink
     4if ! [ -L /etc/cups ]; then
     5        mv /etc/cups /etc/cups.old
     6        ln -s /home/system/cups /etc/cups 2>/dev/null
     7fi
     8
     9if ! [ -L /etc/samba ]; then
     10        ln -s /home/system/samba /etc/samba 2>/dev/null
     11fi
    512
    613
Note: See TracChangeset for help on using the changeset viewer.