diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-02-09 04:16:43 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-02-09 04:16:43 +0000 |
commit | e132f4b09e5c9aedaef97f65279e8702633fd425 (patch) | |
tree | 50bfe1c027ff760e426ae31442da73e536dd4baa /utility.c | |
parent | e49d5ecbbe51718fa925b6890a735e5937cc2aa2 (diff) | |
download | busybox-w32-e132f4b09e5c9aedaef97f65279e8702633fd425.tar.gz busybox-w32-e132f4b09e5c9aedaef97f65279e8702633fd425.tar.bz2 busybox-w32-e132f4b09e5c9aedaef97f65279e8702633fd425.zip |
Fixed the init problem where it wouldn't unmount filesystems
on reboot. Also fixed swapoff -a so it works.
-Erik
Diffstat (limited to 'utility.c')
-rw-r--r-- | utility.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1298,5 +1298,19 @@ extern char *find_unused_loop_device(void) | |||
1298 | } | 1298 | } |
1299 | #endif /* BB_FEATURE_MOUNT_LOOP */ | 1299 | #endif /* BB_FEATURE_MOUNT_LOOP */ |
1300 | 1300 | ||
1301 | #if defined BB_MTAB | ||
1302 | #define whine_if_fstab_is_missing() {} | ||
1303 | #else | ||
1304 | extern void whine_if_fstab_is_missing() | ||
1305 | { | ||
1306 | struct stat statBuf; | ||
1307 | |||
1308 | if (stat("/etc/fstab", &statBuf) < 0) | ||
1309 | fprintf(stderr, | ||
1310 | "/etc/fstab file missing -- install one to name /dev/root.\n\n"); | ||
1311 | } | ||
1312 | #endif | ||
1313 | |||
1314 | |||
1301 | 1315 | ||
1302 | /* END CODE */ | 1316 | /* END CODE */ |