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

Last change on this file was 46274, checked in by obi, 3 years ago

update lost files with install echo

File size: 344 bytes
RevLine 
[13993]1#!/bin/sh
[46274]2
3echo Use Install Dest: $1
4echo Start Install Script: $0
5
[24447]6INSTDIR="$1"
[13993]7
[45684]8if [ "$INSTDIR" != "/var" ]; then
[24447]9 rm -rf /var/bin/smbd > /dev/null 2>&1
10 rm -rf /var/bin/nmbd > /dev/null 2>&1
11fi
12
[35666]13rm /mnt/config/smb.conf
14
[45684]15if [ -f /mnt/config/start-config ]; then
[24435]16 sed -i s#"sambaserver=y"#"sambaserver=n"#g /mnt/config/start-config
17fi
18
19exit 0
Note: See TracBrowser for help on using the repository browser.