source:
ipk/source.sh4/network_samba/CONTROL/postrm@
45918
| Last change on this file since 45918 was 45684, checked in by , 4 years ago | |
|---|---|
| File size: 286 bytes | |
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | INSTDIR="$1" |
| 3 | |
| 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 | |
| 9 | rm /mnt/config/smb.conf |
| 10 | |
| 11 | if [ -f /mnt/config/start-config ]; then |
| 12 | sed -i s#"sambaserver=y"#"sambaserver=n"#g /mnt/config/start-config |
| 13 | fi |
| 14 | |
| 15 | 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)