source:
ipk/source.sh4/network_samba/CONTROL/postrm
| Last change on this file was 46274, checked in by , 3 years ago | |
|---|---|
| File size: 344 bytes | |
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | |
| 3 | echo Use Install Dest: $1 |
| 4 | echo Start Install Script: $0 |
| 5 | |
| 6 | INSTDIR="$1" |
| 7 | |
| 8 | if [ "$INSTDIR" != "/var" ]; then |
| 9 | rm -rf /var/bin/smbd > /dev/null 2>&1 |
| 10 | rm -rf /var/bin/nmbd > /dev/null 2>&1 |
| 11 | fi |
| 12 | |
| 13 | rm /mnt/config/smb.conf |
| 14 | |
| 15 | if [ -f /mnt/config/start-config ]; then |
| 16 | sed -i s#"sambaserver=y"#"sambaserver=n"#g /mnt/config/start-config |
| 17 | fi |
| 18 | |
| 19 | 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)