source:
ipk/source.sh4/network_samba/CONTROL/postinst@
24223
| Last change on this file since 24223 was 23627, checked in by , 13 years ago | |
|---|---|
| File size: 245 bytes | |
| Rev | Line | |
|---|---|---|
| [13993] | 1 | #!/bin/sh |
| [23439] | 2 | INSTDIR="$1" |
| [13993] | 3 | |
| [23627] | 4 | if [ "/var" != "$INSTDIR" ]; then |
| 5 | rm -rf /var/bin/smbd | |
| 6 | rm -rf /var/bin/nmbd | |
| 7 | ln -s "$INSTDIR/bin/smbd /var/bin/smbd" | |
| 8 | ln -s "$INSTDIR/bin/nmbd /var/bin/nmbd" | |
| 9 | fi | |
| [14724] | 10 | |
| [23439] | 11 | ln -snf /var/etc/smb.conf /var/etc/samba/smb.conf |
| [13993] | 12 | |
| 13 | exit 0 |
Note:
See TracBrowser
for help on using the repository browser.
![(please configure the [header_logo] section in trac.ini)](/openaaf/chrome/common/titannit_trac_banner.png)