Ignore:
Timestamp:
2010-04-28T16:09:15+02:00 (7 years ago)
Author:
nico
Message:

[packages] samba3: don't ship dangling symlink in package, create the link at startup instead

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/samba3/files/samba.init

    r19007 r21234  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2008 OpenWrt.org 
     2# Copyright (C) 2008-2010 OpenWrt.org 
    33 
    44. /etc/functions.sh 
     
    2323 
    2424        cp /etc/samba/smb.conf.template /tmp/smb.conf 
     25        [ -L /etc/samba/smb.conf ] || ln -nsf /tmp/smb.conf /etc/samba/smb.conf 
    2526        sed -i "s/|NAME|/$name/g" /tmp/smb.conf 
    2627        sed -i "s/|WORKGROUP|/$workgroup/g" /tmp/smb.conf 
Note: See TracChangeset for help on using the changeset viewer.