aboutsummaryrefslogtreecommitdiffstats
path: root/usr/sbin/sys-unconfig
diff options
context:
space:
mode:
Diffstat (limited to 'usr/sbin/sys-unconfig')
-rwxr-xr-xusr/sbin/sys-unconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/usr/sbin/sys-unconfig b/usr/sbin/sys-unconfig
new file mode 100755
index 00000000..b5f4d78c
--- /dev/null
+++ b/usr/sbin/sys-unconfig
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+. /etc/init.d/functions
+
+if [ $# -ne 0 ]; then
+ echo $"Usage: sys-unconfig" >&2
+ exit 1
+fi
+
+touch /.unconfigured
+rm -f /etc/udev/rules.d/*-persistent-*.rules
+poweroff