aboutsummaryrefslogtreecommitdiffstats
path: root/sys-unconfig
diff options
context:
space:
mode:
authorMiloslav Trmac <mitr@volny.cz>2006-07-29 21:47:50 +0000
committerMiloslav Trmac <mitr@volny.cz>2006-07-29 21:47:50 +0000
commit10b07d34e516432e01adcf92230e0b5cfb100cd2 (patch)
tree6276ee4f15d78bc5e27632aeee84bbc35b9340e3 /sys-unconfig
parentcaad46e53fa88271d05587af39d26c6dd7c9841d (diff)
downloadinitscripts-10b07d34e516432e01adcf92230e0b5cfb100cd2.tar
initscripts-10b07d34e516432e01adcf92230e0b5cfb100cd2.tar.gz
initscripts-10b07d34e516432e01adcf92230e0b5cfb100cd2.tar.bz2
initscripts-10b07d34e516432e01adcf92230e0b5cfb100cd2.tar.xz
initscripts-10b07d34e516432e01adcf92230e0b5cfb100cd2.zip
- sys-unconfig: Avoid mishaps with e.g. (sys-unconfig --help) (#189501)
- po/Makefile (POTFILES): Extract msgids from more files.
Diffstat (limited to 'sys-unconfig')
-rw-r--r--sys-unconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-unconfig b/sys-unconfig
index 2b9a3c58..e6b3416d 100644
--- a/sys-unconfig
+++ b/sys-unconfig
@@ -1,4 +1,11 @@
#!/bin/sh
+. /etc/init.d/functions
+
+if [ $# -ne 0 ]; then
+ echo $"Usage: sys-unconfig" >&2
+ exit 1
+fi
+
touch /.unconfigured
halt