source: ipk/source.sh4/network_samba/CONTROL/postrm@ 45683

Last change on this file since 45683 was 45683, checked in by obi, 4 years ago

fix plugin permtime

File size: 317 bytes
Line 
1#!/bin/sh
2INSTDIR="$1"
3
4if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
5 rm -rf /var/bin/smbd > /dev/null 2>&1
6 rm -rf /var/bin/nmbd > /dev/null 2>&1
7fi
8
9rm /mnt/config/smb.conf
10
11if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
12 sed -i s#"sambaserver=y"#"sambaserver=n"#g /mnt/config/start-config
13fi
14
15exit 0
Note: See TracBrowser for help on using the repository browser.