diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-03-10 12:24:31 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-03-10 12:24:31 -0800 |
commit | 2054ccd4e69fef0ffb6989310b5789bfbcd8b29c (patch) | |
tree | 8f8242ca36b99df7fa5233d64a89d1378224f2f6 | |
parent | c8c882e902014a770552903c3c47d6650fc07f1c (diff) | |
download | vyatta-bash-2054ccd4e69fef0ffb6989310b5789bfbcd8b29c.tar.gz vyatta-bash-2054ccd4e69fef0ffb6989310b5789bfbcd8b29c.zip |
Add installation/removal scripts for vbash
Need to update /etc/shells so commands (like newrole),
think vbash is a valid shell.
-rw-r--r-- | debian/vyatta-bash.postinst | 9 | ||||
-rw-r--r-- | debian/vyatta-bash.postrm | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/debian/vyatta-bash.postinst b/debian/vyatta-bash.postinst new file mode 100644 index 0000000..edf824e --- /dev/null +++ b/debian/vyatta-bash.postinst @@ -0,0 +1,9 @@ +#! /bin/sh -e + +if [ -x /usr/sbin/add-shell ]; then + /usr/sbin/add-shell /bin/vbash +fi + +#DEBHELPER# + +exit 0 diff --git a/debian/vyatta-bash.postrm b/debian/vyatta-bash.postrm new file mode 100644 index 0000000..3d77a51 --- /dev/null +++ b/debian/vyatta-bash.postrm @@ -0,0 +1,9 @@ +#! /bin/sh -e + +if [ -x /usr/sbin/remove-shell ]; then + /usr/sbin/remove-shell /bin/vbash +fi + +#DEBHELPER# + +exit 0 |