[arch-projects] [INITSCRIPTS][PATCH 1/2] Remove comment line in rc.conf to be consistent
Signed-off-by: Sébastien Luttringer <seblu@seblu.net> --- rc.conf | 1 - 1 file changed, 1 deletion(-) diff --git a/rc.conf b/rc.conf index 51a8393..030ffb2 100644 --- a/rc.conf +++ b/rc.conf @@ -36,5 +36,4 @@ NETWORK_PERSIST="no" # DAEMONS # ------- -# DAEMONS=(syslog-ng network crond) -- Sebastien "Seblu" Luttringer
Currently, using "shutdown -F -r now" with fsck initcpio hook doesn't make a full fsck on reboot. Initscripts hook check if /run/initramfs/root-fsck is present to add -M option to fsck which disable check of mounted filesystem. Initcpio doesn't check /forcefsck file and create root-fsck file with a simple fsck check. Signed-off-by: Sébastien Luttringer <seblu@seblu.net> --- functions | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/functions b/functions index 7516345..b9bfffc 100644 --- a/functions +++ b/functions @@ -494,13 +494,11 @@ NETFS="nfs,nfs4,smbfs,cifs,codafs,ncpfs,shfs,fuse,fuseblk,glusterfs,davfs,fuse.g # Check local filesystems fsck_all() { - [[ -f /forcefsck ]] || in_array forcefsck $(< /proc/cmdline) && FORCEFSCK="-f" - - if [[ ! -n $FORCEFSCK ]] && { [[ -f /fastboot ]] || in_array fastboot $(< /proc/cmdline); }; then + if [[ -f /forcefsck ]] || in_array forcefsck $(< /proc/cmdline); then + FORCEFSCK="-f" + elif [[ -f /fastboot ]] || in_array fastboot $(< /proc/cmdline); then return 0 - fi - - if [[ -e /run/initramfs/root-fsck ]]; then + elif [[ -e /run/initramfs/root-fsck ]]; then IGNORE_MOUNTED="-M" fi -- Sebastien "Seblu" Luttringer
On Sun, May 20, 2012 at 05:21:27AM +0200, Sébastien Luttringer wrote:
Signed-off-by: Sébastien Luttringer <seblu@seblu.net> --- rc.conf | 1 - 1 file changed, 1 deletion(-)
diff --git a/rc.conf b/rc.conf index 51a8393..030ffb2 100644 --- a/rc.conf +++ b/rc.conf @@ -36,5 +36,4 @@ NETWORK_PERSIST="no"
# DAEMONS # ------- -# DAEMONS=(syslog-ng network crond) -- Sebastien "Seblu" Luttringer
You want everyone to get a .pacnew, just to get rid of an empty commented line? -100.
On Sun, May 20, 2012 at 5:36 AM, Dave Reisner <d@falconindy.com> wrote:
On Sun, May 20, 2012 at 05:21:27AM +0200, Sébastien Luttringer wrote:
Signed-off-by: Sébastien Luttringer <seblu@seblu.net> --- rc.conf | 1 - 1 file changed, 1 deletion(-)
diff --git a/rc.conf b/rc.conf index 51a8393..030ffb2 100644 --- a/rc.conf +++ b/rc.conf @@ -36,5 +36,4 @@ NETWORK_PERSIST="no"
# DAEMONS # ------- -# DAEMONS=(syslog-ng network crond) -- Sebastien "Seblu" Luttringer
You want everyone to get a .pacnew, just to get rid of an empty commented line?
-100. Bad timing, i planned to push this with a necessary update of rc.conf.
-- Sébastien Luttringer www.seblu.net
participants (3)
-
Dave Reisner
-
Seblu
-
Sébastien Luttringer