source:
ipk/source.sh4/network_samba/CONTROL/postrm@
24447
| Last change on this file since 24447 was 24447, checked in by , 13 years ago | |
|---|---|
| File size: 261 bytes | |
| Rev | Line | |
|---|---|---|
| [13993] | 1 | #!/bin/sh |
| [24447] | 2 | INSTDIR="$1" |
| [13993] | 3 | |
| [24447] | 4 | if [ "$INSTDIR" != "/var" ]; then |
| 5 | rm -rf /var/bin/smbd > /dev/null 2>&1 | |
| 6 | rm -rf /var/bin/nmbd > /dev/null 2>&1 | |
| 7 | fi | |
| 8 | ||
| [24435] | 9 | if [ -f /mnt/config/start-config ]; then |
| 10 | sed -i s#"sambaserver=y"#"sambaserver=n"#g /mnt/config/start-config | |
| 11 | fi | |
| 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)