diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-04-12 20:30:35 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-04-12 20:30:35 (GMT) |
commit | 7b9062c07f9dfdaa08858820774207a12ac9324b (patch) | |
tree | dcac809f37af4bfca61693defb3eb9763418686b /abs/core/LinHES-config/config.install | |
parent | af658fc3757d37b3b3ceff716f05571db5250cf7 (diff) | |
download | linhes_pkgbuild-7b9062c07f9dfdaa08858820774207a12ac9324b.zip linhes_pkgbuild-7b9062c07f9dfdaa08858820774207a12ac9324b.tar.gz linhes_pkgbuild-7b9062c07f9dfdaa08858820774207a12ac9324b.tar.bz2 |
LinHES-config: in .install remove pts and shm from fstab
Diffstat (limited to 'abs/core/LinHES-config/config.install')
-rw-r--r-- | abs/core/LinHES-config/config.install | 11 |
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 |