Changeset 45684 for ipk/source.sh4/network_samba/CONTROL/postinst
- Timestamp:
- Feb 14, 2022, 12:51:17 PM (4 years ago)
- File:
-
- 1 edited
-
ipk/source.sh4/network_samba/CONTROL/postinst (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ipk/source.sh4/network_samba/CONTROL/postinst
r45683 r45684 6 6 export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/var/swap/lib:/mnt/swapextensions/lib:/var/lib 7 7 8 if [ - e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then8 if [ -f /mnt/config/start-config ]; then 9 9 echo "enable samba autostart on /mnt/config/start-config" 10 10 sed s#"sambaserver=n"#"sambaserver=y"#g -i /mnt/config/start-config … … 12 12 13 13 echo "if not exist, use restore smb.conf" 14 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then14 if [ ! -e /mnt/config/smb.conf ]; then 15 15 cp /etc/titan.restore/mnt/config/smb.conf /mnt/config/smb.conf 16 16 fi 17 17 18 18 echo "check if smbpasswd exists" 19 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then19 if [ ! -e $INSTDIR/etc/samba/private/smbpasswd ]; then 20 20 touch $INSTDIR/etc/samba/private/smbpasswd 21 21 fi 22 22 23 23 echo "check if secrets.tdb exists" 24 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then24 if [ ! -e $INSTDIR/etc/samba/private/secrets.tdb ]; then 25 25 touch $INSTDIR/etc/samba/private/secrets.tdb 26 26 fi
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/openaaf/chrome/common/titannit_trac_banner.png)