Welcome, Guest. Please login or register.

Author Topic: samba script  (Read 2108 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline bomratTopic starter

  • Jr. Member
  • **
  • Join Date: Jan 2006
  • Posts: 99
  • Country: 00
    • Show all replies
    • http://www.bomrat.org
samba script
« on: February 23, 2019, 05:23:55 PM »
hi, i am trying to make a samba script for startup.
i created a smb_startup script made it executable.

i can run the exact command in a shell window and it works. in the script i get an error..

the only thing i can think of is the line is so long it line wraps

it has the following:
smbfs Volume="a_share" Workgroup=workgroup Service=//192.168.0.200/amiga_share

any ideas?

thanks

Amiga 1200 towerized, vampire 1200.
 

Offline bomratTopic starter

  • Jr. Member
  • **
  • Join Date: Jan 2006
  • Posts: 99
  • Country: 00
    • Show all replies
    • http://www.bomrat.org
Re: samba script
« Reply #1 on: February 23, 2019, 09:32:55 PM »
it is separate.   Service=
Amiga 1200 towerized, vampire 1200.
 

Offline bomratTopic starter

  • Jr. Member
  • **
  • Join Date: Jan 2006
  • Posts: 99
  • Country: 00
    • Show all replies
    • http://www.bomrat.org
Re: samba script
« Reply #2 on: February 24, 2019, 06:51:54 PM »
my issue is in a script it does not work.  if i keep the line short it works in a script...
if it line wraps it does not work...

how do i fix that...
thanks
Amiga 1200 towerized, vampire 1200.
 

Offline bomratTopic starter

  • Jr. Member
  • **
  • Join Date: Jan 2006
  • Posts: 99
  • Country: 00
    • Show all replies
    • http://www.bomrat.org
Re: samba script
« Reply #3 on: February 26, 2019, 05:01:07 PM »
hi, running without quotes crashes.
i have it as a standalone script, and that works.
i just need to run the script when i want to mount it.
now to make an icon for it.
thanks
Amiga 1200 towerized, vampire 1200.