I need to make a small script to map my samba drives. I wanted to make it using newLisp instead using typical shell commands (like #!/bin/bash).
I tried this, but I cannot make it executable:
Code: Select all
#!/usr/bin/newlisp
(writeln "Drive MyWindowsC...")
(! "mount MOUNT_SMB/MyWindowsC")
I have Linux Mint 6 and XFCE. I (try) to execute the command as:
sudo ./mount_drives
I obtain:
ERR: invalid function : (writeln "Drive MyWindowsC...")
It seems it does not recognize newlisp as my shell interpreter.
Can you help me?
Thank you!