diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-03-26 13:18:29 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-03-26 13:18:29 +0100 |
commit | 4a95c2ec86f1014c986539d07388cbd31e318445 (patch) | |
tree | 6e3dea6945dbbaadf104e73dec22dbdbb6b84579 | |
parent | 7e86828338eac262286d659cbcd4c90ff770d7b1 (diff) | |
download | runit-void-4a95c2ec86f1014c986539d07388cbd31e318445.tar.gz runit-void-4a95c2ec86f1014c986539d07388cbd31e318445.tar.xz runit-void-4a95c2ec86f1014c986539d07388cbd31e318445.zip |
2: Handle single the same way as any other runlevel
-rwxr-xr-x | 2 | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/2 b/2 index 0020949..0a39298 100755 --- a/2 +++ b/2 @@ -5,9 +5,6 @@ PATH=/usr/bin:/usr/sbin runlevel=default for arg in $(cat /proc/cmdline); do - case $arg in - single) echo "Initializing single user mode..."; runlevel=single;; - esac if [ -d /etc/runit/runsvdir/"$arg" ]; then echo "Runlevel detected: '$arg' (via kernel cmdline)" runlevel="$arg" |