Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: [SOLVED] How to run a command at login

  1. #11
    Join Date
    Jan 2007
    $here ? $here : $there
    Ubuntu 8.04 Hardy Heron

    Re: [SOLVED] How to run a command at login

    Glad to help.
    Don't try to make something "fast" until you are able to quantify "slow".

  2. #12
    Join Date
    Oct 2007

    Re: [SOLVED] How to run a command at login

    So I have a script at ~/.mounts that looks like this

    mount /media/music
    I call it mounts as I plan to later add more.

    which is supposed to mount a share that I have added into my fstab but for some reason doesn't auto mount....

    the fstab looks like:
    sshfs#<user name>@<fqdn>:/var/lib/mythtv/music  /media/music   fuse   port=1234,user   0 0
    The only thing I can think is that this isn't mounting because I don't have internet access until after login and after nm-applet links up the wifi. However when I was running this share over CIFS it would mount automatically on login. But this SSHFS line doesn't do that... And for some reason when I put that script in my profiles area it doesn't work either... But if I run it in a terminal poof it mounts the drive right up...

Page 2 of 2 FirstFirst 12


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts