Changeset 34953


Ignore:
Timestamp:
Aug 2, 2015, 2:09:35 PM (5 years ago)
Author:
Stephan
Message:

[tpk] change Samba server to config update

Location:
ipk/source.mipsel/network_samba
Files:
5 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • ipk/source.mipsel/network_samba/CONTROL/control

    r31030 r34953  
    11Package: titan-plugin-network-samba
    2 Version: 3.0.37
     2Version: 1.0
    33Architecture: mipsel
    44Section: network
    5 Description: Samba file server
    6 Showname: Samba Server
     5Description: Samba Server configuration update
     6Showname: Samba Server Configuration
    77Usepath: mnt
  • ipk/source.mipsel/network_samba/CONTROL/postinst

    r33712 r34953  
    44echo INSTDIR: $INSTDIR
    55
    6 sed "s#_path_#$INSTDIR#g" -i "$INSTDIR/etc/init.d/samba"
    7 
    86if [ -f /mnt/config/start-config ]; then
    97        echo "enable samba autostart on /mnt/config/start-config"
    108        sed s#"sambaserver=n"#"sambaserver=y"#g -i /mnt/config/start-config
    11 fi
    12 
    13 echo "if not exist, use restore smb.conf"
    14 if [ ! -e /mnt/config/smb.conf ]; then
    15         cp /etc/titan.restore/mnt/config/smb.conf /mnt/config/smb.conf
    169fi
    1710
Note: See TracChangeset for help on using the changeset viewer.