aipoを自動起動するには?

| コメント(22) | トラックバック(0)
とっても便利なaipo
けどどうせならboot時に勝手に起動してくれないかな~?ってことで設定してみた。

まずcronに起動スクリプトを書いてみた。
こんな感じ

@reboot /usr/local/aipo/bin/startup.sh


が、起動せず。
/var/log/cronを見るときちんと呼び出されてはいるが /var/log/secureを見ると
sudoする権限ないからできないよん、、、ってエラーが出てる。

むむむ。。。

だったら、、、と思ってrootのcrontabに書くも結果は同じで・・・

いろいろググった末 sudoの権限をゆるめるのが早いみたい。
visudo でsudoのファイルが開けるので以下の行をコメントアウトする
#Defaults requiretty


■参考
http://open-groove.net/linux/sudo-requiretty/

上記で無事自動起動ができました♪

めでたしめでたし

トラックバック(0)

トラックバックURL: http://blog.romaji.net/mt4/mt_cgi/mt-tb.cgi/117

コメント(22)

Thanks, these tips have been quite interesting, To offer to finding out about the rest of this amazing site.

Another time I be taught a weblog, I hope that it doesnt disappoint me just as much as this. I imply, The only it absolutely was my replacement for read, however When i thought youd have the one thing interesting to mention. All I hear is a lot of whining about the one thing you can possibly fix in the event you werent too busy hunting for attention.

I will be conntacting help you be familiar with such a fabulous encounter our daughter experienced viewing your blog. She stumbled on find numerous pieces, including what its enjoy having an amazing teaching mood to possess most people really easily understand that a number of problematic subject material. You undoubtedly exceeded readers expectations. I appreciate you for distributing these good, trusted, explanatory and also unique applying for grants your topic to Janet.

Interesting information, thank it may help me.

Well liked post. I learn another thing new on different blogs everyday. Choosing one . stimulating to find out the paper subject material from different writers and look just a little one thing from other website. Let me apply clear on this article in my small weblog you're mind. Natually I'll provide a link in this article were pictures internet-site. Recognize your sharing.

First-class Principle, although We would take possession to talk about that because of the throng of views it's had it must be worth pondering endeavoring to better the spelling and the english! Produced a powerfully good read though, excellent substance.

Interesting marvelous posting! I certainly enjoyed reading it, you could be a fantastic author.I'll ensure to bookmark your website and definitely will eventually give back down the line. I would like to encourage yourself to continue your good job, have got a nice afternoon!

Natural Skin Whitening Items which will effectively whiten your skin without harmful chemicals.

exceptional site post. I am about to bookmark and investigate additional often. I really like the site template

What a lovely day for a 3389945! SCK was here

Today, while I was at work, my cousin stole my iphone and tested to see if it can survive a twenty five foot drop, just so she can be a youtube sensation. My iPad is now destroyed and she has 83 views. I know this is entirely off topic but I had to share it with someone!

I discovered your blog site on google and check a few of your early posts. Continue to keep up the very good operate. I just additional up your RSS feed to my MSN News Reader. Seeking forward to reading more from you later on!…

Today, while I was at work, my cousin stole my iphone and tested to see if it can survive a twenty five foot drop, just so she can be a youtube sensation. My iPad is now destroyed and she has 83 views. I know this is entirely off topic but I had to share it with someone!

Sorry for the huge review, but I'm really loving the new Zune, and hope this, as well as the excellent reviews some other people have written, will help you decide if it's the right choice for you.

This web page is known as a stroll-via for all the information you wished about this and didn’t know who to ask. Glimpse here, and you’ll definitely uncover it.

I like Your Article about aipoを自動起動するには? - WEB系エンジニアの備忘録 Perfect just what I was looking for! .

Magnificent goods from you, man. aipoを自動起動するには? - WEB系エンジニアの備忘録 I have understand your stuff previous to and you're just too great. I really like what you have acquired here, certainly like what you are saying and the way in which you say it. You make it enjoyable and you still care for to keep it sensible. I cant wait to read far more from you. This is actually a terrific aipoを自動起動するには? - WEB系エンジニアの備忘録 informations.

I like Your Article about aipoを自動起動するには? - WEB系エンジニアの備忘録 Perfect just what I was searching for! .

I like Your Article about aipoを自動起動するには? - WEB系エンジニアの備忘録 Perfect just what I was searching for! .

Hi, I think that I saw you visited my blog thus I came to “return the favor�.I'm trying to find things to enhance my website!I suppose its ok to use some of your ideas!!

Sorry for the huge review, but I'm really loving the new Zune, and hope this, as well as the excellent reviews some other people have written, will help you decide if it's the right choice for you.

Once I originally commented I clicked the -Notify me when new feedback are added- checkbox and now each time a remark is added I get four emails with the identical comment. Is there any way you can remove me from that service? Thanks!

コメントする

2011年9月

        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30