mirror of
https://github.com/troglobit/finit.git
synced 2026-11-08 16:11:10 +00:00
finit.conf: Remove check config, replaced by fsck over /etc/fstab
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
8505db24b7
commit
fe362341dc
3 files changed
+4
-16
No files matched your search
@@ -8,6 +8,10 @@ All relevant changes are documented in this file.
|
|||||||
|
|
||||||
### Changes
|
### Changes
|
||||||
|
|
||||||
|
#### -rc3
|
||||||
|
* Removed `finit.conf` option `check DEV`, replaced entirely by automated
|
||||||
|
call to `fsck` for each device listed in `/etc/fstab`
|
||||||
|
|
||||||
#### -rc2
|
#### -rc2
|
||||||
* Support for a fallback shell on console if none of the configured TTYs
|
* Support for a fallback shell on console if none of the configured TTYs
|
||||||
can be started
|
can be started
|
||||||
|
|||||||
@@ -38,10 +38,6 @@ so usually only bootstrap (runlevel 'S') services are declared in the
|
|||||||
|
|
||||||
Syntax:
|
Syntax:
|
||||||
|
|
||||||
* `check <DEV>`
|
|
||||||
Run fsck on a file system. Only needed if not listed in `/etc/fstab`,
|
|
||||||
Finit 3.0 and later check all file systems automatically at boot.
|
|
||||||
|
|
||||||
* `module <MODULE>`
|
* `module <MODULE>`
|
||||||
Load a kernel module, with optional arguments
|
Load a kernel module, with optional arguments
|
||||||
|
|
||||||
|
|||||||
-12
@@ -226,18 +226,6 @@ static void parse_static(char *line)
|
|||||||
char *x;
|
char *x;
|
||||||
char cmd[CMD_SIZE];
|
char cmd[CMD_SIZE];
|
||||||
|
|
||||||
/* Do this before mounting / read-write
|
|
||||||
* XXX: Move to plugin which checks /etc/fstab instead */
|
|
||||||
if (MATCH_CMD(line, "check ", x)) {
|
|
||||||
char *dev = strip_line(x);
|
|
||||||
|
|
||||||
strcpy(cmd, "fsck -C -a ");
|
|
||||||
strlcat(cmd, dev, sizeof(cmd));
|
|
||||||
run_interactive(cmd, "Checking file system %s", dev);
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (MATCH_CMD(line, "user ", x)) {
|
if (MATCH_CMD(line, "user ", x)) {
|
||||||
if (username) free(username);
|
if (username) free(username);
|
||||||
username = strdup(strip_line(x));
|
username = strdup(strip_line(x));
|
||||||
|
|||||||
Reference in new issue
Block a user