aboutsummaryrefslogtreecommitdiff
path: root/system/oils/douninst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/oils/douninst.sh')
-rw-r--r--system/oils/douninst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/oils/douninst.sh b/system/oils/douninst.sh
new file mode 100644
index 0000000000..b83ff98da7
--- /dev/null
+++ b/system/oils/douninst.sh
@@ -0,0 +1,4 @@
+if [ -e etc/shells ]; then
+ sed -i "/^\/bin\/osh$/d" etc/shells
+ sed -i "/^\/bin\/ysh$/d" etc/shells
+fi