summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config/config.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/LinHES-config/config.install')
-rw-r--r--abs/core/LinHES-config/config.install11
1 files changed, 8 insertions, 3 deletions
diff --git a/abs/core/LinHES-config/config.install b/abs/core/LinHES-config/config.install
index 4c99e03..0b7060e 100644
--- a/abs/core/LinHES-config/config.install
+++ b/abs/core/LinHES-config/config.install
@@ -21,7 +21,7 @@ post_install() {
# arg 1: the new package version
# arg 2: the old package version
pre_upgrade() {
- /bin/true
+ /usr/bin/true
}
# arg 1: the new package version
@@ -41,16 +41,21 @@ post_upgrade() {
fi
/usr/MythVantage/bin/systemconfig.py -m locale
+ echo " Removing pts and shm from fstab..."
+ cp -a /etc/fstab /etc/fstab.backup.pre_pts_shm
+ sed -i '/\/dev\/pts/d' /etc/fstab
+ sed -i '/\/dev\/shm/d' /etc/fstab
+
}
# arg 1: the old package version
pre_remove() {
- /bin/true
+ /usr/bin/true
}
# arg 1: the old package version
post_remove() {
- /bin/true
+ /usr/bin/true
}
op=$1