Thread: rc.local won't execute my script
this rc.local:
#!/bin/sh
#
# rc.local
#
# script executed @ end of each multiuser runlevel.
# make sure script "exit 0" on success or other
# value on error.
#
# in order enable or disable script change execution
# bits.
#
# default script nothing.
sh /automountnas.sh
exit 0
script want mount in root "/" directory because tried else , never worked( , still doesn't!)
when mount script terminal works, did
when try automount rc.local won't start. tried add "> /test.log" behind sh /automount.sh see happpend when open file empty, al least i'm sure line executed.
tried delete "-e" #!/bin/sh did't work either.
saw rc.local common problem in ubuntu, came here see if cal tell me problem be.
maybe try instead of making rc.local execute script putting contents of script in rc.local.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] rc.local won't execute my script
Ubuntu
Comments
Post a Comment