/[smeserver]/rpms/e-smith-quota/sme9/e-smith-quota-2.4.0-RemoveQuotaCreate.patch
ViewVC logotype

Contents of /rpms/e-smith-quota/sme9/e-smith-quota-2.4.0-RemoveQuotaCreate.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sun May 5 03:28:36 2013 UTC (11 years ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-quota-2_4_0-2_el6_sme, HEAD
* Sat May 04 2013 Ian Wells <esmith@wellsi.com> 2.4.0-2.sme
- Remove rc.quota_create [SME: 7227]

1 diff -ruN e-smith-quota-2.4.0.old/root/etc/e-smith/templates/etc/inittab/11quotas e-smith-quota-2.4.0/root/etc/e-smith/templates/etc/inittab/11quotas
2 --- e-smith-quota-2.4.0.old/root/etc/e-smith/templates/etc/inittab/11quotas 2004-12-16 09:55:02.000000000 -0800
3 +++ e-smith-quota-2.4.0/root/etc/e-smith/templates/etc/inittab/11quotas 1969-12-31 16:00:00.000000000 -0800
4 @@ -1,2 +0,0 @@
5 -# Create quota db files if they don't exist
6 -cq::sysinit:/etc/rc.d/rc.quota_create
7 diff -ruN e-smith-quota-2.4.0.old/root/etc/rc.d/rc.quota_create e-smith-quota-2.4.0/root/etc/rc.d/rc.quota_create
8 --- e-smith-quota-2.4.0.old/root/etc/rc.d/rc.quota_create 2013-02-12 21:15:00.000000000 -0800
9 +++ e-smith-quota-2.4.0/root/etc/rc.d/rc.quota_create 1969-12-31 16:00:00.000000000 -0800
10 @@ -1,19 +0,0 @@
11 -#!/bin/bash
12 -#
13 -
14 -test -f /aquota.user && exit 0
15 -
16 -. /etc/init.d/functions
17 -
18 -if test -f /quota.user
19 -then
20 - action $"Converting old user quota files: " \
21 - /sbin/convertquota -u / && rm -f /quota.user
22 - action $"Converting old group quota files: " \
23 - /sbin/convertquota -g / && rm -f /quota.group
24 -else
25 - action $"Remounting / with quota support: " mount -o usrquota,grpquota,remount /
26 - action $"Creating quota files: " quotacheck -cug -F vfsv0 /
27 -fi
28 -action $"Remounting / read-only: " mount -o ro,remount /
29 -action $"Unmounting /proc file system: " umount /proc

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed