LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to configure fsck to run automatically
#6
Hi [size=1em]supergamer, thanks for the info. [/size]I edited /etc/init.d/checkfs.sh from FSCKFIX=no to FSCKFIX=yes. Then I edited /etc/default/rcS by adding the line
Code:
cd /etc/init.d && ./checkfs.sh

After reboot, I found these lines in the syslog, so I'm guessing something went wrong:
Code:
ondemand[685]: ./checkfs.sh: 27: /etc/default/rcS: Cannot fork
ondemand[685]: ./checkfs.sh: 8: /lib/lsb/init-functions.d/01-upstart-lsb: Cannot fork
grub-common[1520]: ./checkfs.sh: 27: /etc/default/rcS: Cannot fork
ondemand[685]: message repeated 161 times: [ ./checkfs.sh: 8: /lib/lsb/init-functions.d/01-upstart-lsb: Cannot fork]

After reboot, the desktop was slow in responding, don't know why?
I don't know much about bash scripts, so I'm hesitant to do any other edits on my own.

Hi, elelme. Hang in there, I'm going to keep at it until I find all the answers. Grab a drink, 'cause this may take a while Smile
Oh yeah, no such thing as a dumb question. It's how I learn.
Reply


Messages In This Thread
Re: How to configure fsck to run automatically - by skippy95 - 06-03-2017, 07:52 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)